reorganization + todo
This commit is contained in:
parent
1696ae7411
commit
b71ef36f57
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@ in {
|
|||
# do not accept IP source packets (we are not a router)
|
||||
"net.ipv4.conf.all.accept_source_route" = 0;
|
||||
"net.ipv6.conf.all.accept_source_route" = 0;
|
||||
# Don't send ICMP redirects (again, we're not a router)
|
||||
# don't send ICMP redirects (again, we're not a router)
|
||||
"net.ipv4.conf.all.send_redirects" = 0;
|
||||
"net.ipv4.conf.default.send_redirects" = 0;
|
||||
# refuse ICMP redirects (MITM mitigations)
|
||||
|
@ -52,8 +52,8 @@ in {
|
|||
# prevents replacing the kernel without a reboot
|
||||
protectKernelImage = true;
|
||||
# allows unprivileged processes to speak to privileged processes (ex. nmtui, reboot)
|
||||
polkit.enable = true;
|
||||
rtkit.enable = true;
|
||||
polkit.enable = true;
|
||||
};
|
||||
} // (mkIf cfg.useDoas {
|
||||
security.sudo.enable = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue