refactor: remove sudo

This commit is contained in:
nhnn
2025-05-20 16:24:12 +03:00
parent 5e985d0517
commit eb29949a03

View File

@@ -232,6 +232,8 @@ in
environment.memoryAllocator.provider = "libc"; # Scudo has problems with PHP, which may cause PHP to segfault... environment.memoryAllocator.provider = "libc"; # Scudo has problems with PHP, which may cause PHP to segfault...
security.sudo.enable = false;
boot.kernel.sysctl = { boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1; # TODO why is it here by default, for VPN only? "net.ipv4.ip_forward" = 1; # TODO why is it here by default, for VPN only?
"kernel.core_pattern" = "|${pkgs.coreutils}/bin/false"; # Ignore coredumps "kernel.core_pattern" = "|${pkgs.coreutils}/bin/false"; # Ignore coredumps