32 lines
792 B
Nix
32 lines
792 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ ];
|
|
|
|
# configure static IP address
|
|
networking.useDHCP = false;
|
|
systemd.network = {
|
|
enable = true;
|
|
networks = {
|
|
"10-eth0" = {
|
|
matchConfig.MACAddress = "BC:24:11:41:E1:61";
|
|
address = [ "10.0.0.3/24" ];
|
|
gateway = [ "10.0.0.1" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
services.cookied = {
|
|
enable = true;
|
|
algorithm = "text";
|
|
text = "🥚🥚🥚You have found the secret Easteregg! Go visit the NOC helpdesk for a free drink of your choice 🐇🐇🐇";
|
|
};
|
|
|
|
# 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";
|
|
}
|