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)
|
# do not accept IP source packets (we are not a router)
|
||||||
"net.ipv4.conf.all.accept_source_route" = 0;
|
"net.ipv4.conf.all.accept_source_route" = 0;
|
||||||
"net.ipv6.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.all.send_redirects" = 0;
|
||||||
"net.ipv4.conf.default.send_redirects" = 0;
|
"net.ipv4.conf.default.send_redirects" = 0;
|
||||||
# refuse ICMP redirects (MITM mitigations)
|
# refuse ICMP redirects (MITM mitigations)
|
||||||
|
@ -52,8 +52,8 @@ in {
|
||||||
# prevents replacing the kernel without a reboot
|
# prevents replacing the kernel without a reboot
|
||||||
protectKernelImage = true;
|
protectKernelImage = true;
|
||||||
# allows unprivileged processes to speak to privileged processes (ex. nmtui, reboot)
|
# allows unprivileged processes to speak to privileged processes (ex. nmtui, reboot)
|
||||||
polkit.enable = true;
|
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
|
polkit.enable = true;
|
||||||
};
|
};
|
||||||
} // (mkIf cfg.useDoas {
|
} // (mkIf cfg.useDoas {
|
||||||
security.sudo.enable = false;
|
security.sudo.enable = false;
|
||||||
|
|
|
@ -25,3 +25,4 @@ before committing, please run `nix flake check` and make sure everything is ok
|
||||||
- swap back to hardened kernel
|
- swap back to hardened kernel
|
||||||
- leverage nixos-hardware
|
- leverage nixos-hardware
|
||||||
- somehow add desktop evironments and per-user dotfiles while keeping a multi-user setup - we can always give this up if needed
|
- somehow add desktop evironments and per-user dotfiles while keeping a multi-user setup - we can always give this up if needed
|
||||||
|
- flake-parts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue