Files
cyper-nix/hosts/cyper-proxy/configuration.nix
T
2026-04-24 23:29:27 +02:00

24 lines
429 B
Nix

{
imports = [
./hardware-configuration.nix
../../nixos/roles/nginx.nix
];
networking = {
hostName = "cyper-proxy";
useNetworkd = true;
useDHCP = false;
firewall.enable = true;
};
systemd.network = {
enable = true;
networks."10-eth" = {
matchConfig.Name = "en* eth*"; # catches both naming schemes
networkConfig.DHCP = "yes";
};
};
system.stateVersion = "26.05";
}