Added missing config attribute.

This commit is contained in:
Raphaël Numbus
2026-02-24 22:39:35 +01:00
parent f301f48227
commit f0e304507b
3 changed files with 32 additions and 26 deletions
+2
View File
@@ -1,6 +1,7 @@
{ config, ... }:
{
config = {
boot.initrd.systemd.enable = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -8,4 +9,5 @@
boot.kernel.sysctl = {
"vm.overcommit_memory" = 1;
};
};
}
+2
View File
@@ -1,6 +1,7 @@
{ config, ... }:
{
config = {
networking.nftables.enable = true;
networking.firewall = {
enable = true;
@@ -8,4 +9,5 @@
allowedTCPPorts = [ 53 80 443 ];
allowedUDPPorts = [ 53 443 ];
};
};
}
+2
View File
@@ -37,6 +37,7 @@ in
};
};
config = {
networking.hostName = "numbus-server";
networking.networkmanager.enable = false;
@@ -55,4 +56,5 @@ in
address = "${cfg.routerIpAddress}";
interface = "br0";
};
};
}