This commit is contained in:
2026-04-24 00:42:35 -05:00
parent 2f89e5771d
commit 2afd0e1ba9
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{ ... }: {
flake.nixosModules.static-eth = { config, lib, ... }: {
networking = {
interfaces.eno1 = {
ipv4.addresses = [{
address = "192.0.2.2";
prefixLength = 24;
}];
};
defaultGateway = {
address = "192.0.2.1";
interface = "eno1";
};
};
};
flake.nixosModules.static-wl = { config, lib, ... }: {
networking = {
interfaces.wlo1 = {
ipv4.addresses = [{
address = "192.0.3.2";
prefixLength = 24;
}];
};
defaultGateway = {
address = "192.0.3.1";
interface = "wlo1";
};
};
};
}

View File

@@ -37,6 +37,15 @@
]; ];
}; };
environment.etc."wallpaper.jpg".source = ./../../users/nathan/home-manager/dotfiles/Wallpaper/bluescape.jpg;
system.activationScripts."wallpaperInit" = {
text = ''
mkdir -p /tmp/aurora/wallpaper
cp /etc/wallpaper.jpg /tmp/aurora/wallpaper/wallpaper.jpg
'';
};
users.users.nixos.enable = lib.mkForce false; users.users.nixos.enable = lib.mkForce false;
networking = { networking = {