26 lines
598 B
Nix
26 lines
598 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ];
|
|
|
|
# configure static IP address
|
|
networking.useDHCP = false;
|
|
systemd.network = {
|
|
enable = true;
|
|
networks = {
|
|
"10-eth0" = {
|
|
matchConfig.MACAddress = "BC:24:11:21:7F:AF";
|
|
address = [ "94.45.248.2/24" ];
|
|
gateway = [ "BC:24:11:21:7F:AF" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
# 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";
|
|
}
|