Fix srvcfg

This commit is contained in:
soraefir
2026-05-04 00:08:49 +02:00
parent e53997093b
commit ce569f16e2
5 changed files with 5 additions and 5 deletions

View File

@@ -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;