nox/systems/dhcp.eh22.intern/system.nix
2025-04-17 13:40:13 +02:00

34 lines
714 B
Nix

{
pkgs,
config,
...
}:
{
imports = [
./kea.nix
];
networking = {
interfaces = {
net0 = {
ipv4 = {
addresses = [
{
address = "94.45.254.3";
prefixLength = 25;
}
];
};
};
};
defaultGateway = "94.45.254.1";
};
systemd.network.links."10-net0" = {
matchConfig.MACAddress = "BC:24:11:BE:24:52";
linkConfig.Name = "net0";
};
# DO NOT CHANGE
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible
home-manager.users.noc.home.stateVersion = "24.11";
system.stateVersion = "24.11";
}