nixos/nat: Fix override so that sysctls are properly preserved
This commit is contained in:
parent
53c287f5cd
commit
ba53392bce
1 changed files with 3 additions and 3 deletions
|
@ -157,9 +157,9 @@ in
|
|||
|
||||
boot = {
|
||||
kernelModules = [ "nf_nat_ftp" ];
|
||||
kernel.sysctl = mkOverride 99 {
|
||||
"net.ipv4.conf.all.forwarding" = true;
|
||||
"net.ipv4.conf.default.forwarding" = true;
|
||||
kernel.sysctl = {
|
||||
"net.ipv4.conf.all.forwarding" = mkOverride 99 true;
|
||||
"net.ipv4.conf.default.forwarding" = mkOverride 99 true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue