Cleanup and fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
{ config, lib, ... }:{
|
||||
config = lib.mkIf (config.syscfg.server.nftables.enable) {
|
||||
config = lib.mkIf (config.syscfg.server ? nftables.enable) {
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = 1;
|
||||
"net.ipv6.conf.all.forwarding" = 1;
|
||||
|
||||
Reference in New Issue
Block a user