Added Cyper Node 1 configuration

This commit is contained in:
2026-04-10 20:09:19 +02:00
parent 4fb35ddb5e
commit 90c1396ea5
5 changed files with 111 additions and 8 deletions

View File

@@ -0,0 +1,33 @@
{
imports = [ ./hardware-configuration.nix ];
networking = {
useNetworkd = true;
useDHCP = false;
firewall.enable = true;
};
systemd.network = {
enable = true;
networks."10-ethernet" = {
matchConfig.Name = "enp1s0";
networkConfig = {
Address = "192.168.2.30/24";
Gateway = "192.168.2.1";
DNS = "192.168.2.2";
DHCP = "no";
};
};
};
boot.loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
editor = false;
};
efi.canTouchEfiVariables = true;
};
system.stateVersion = "26.05";
}