From 2afd0e1ba927340fdeef09b8a93c8938a451fb03 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 24 Apr 2026 00:42:35 -0500 Subject: [PATCH] test iso --- modules/features/networking.nix | 35 +++++++++++++++++++++++++++++ modules/hosts/iso/configuration.nix | 9 ++++++++ 2 files changed, 44 insertions(+) create mode 100644 modules/features/networking.nix diff --git a/modules/features/networking.nix b/modules/features/networking.nix new file mode 100644 index 0000000..98bf869 --- /dev/null +++ b/modules/features/networking.nix @@ -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"; + }; + }; + }; +} diff --git a/modules/hosts/iso/configuration.nix b/modules/hosts/iso/configuration.nix index 729ae54..bf42fb5 100644 --- a/modules/hosts/iso/configuration.nix +++ b/modules/hosts/iso/configuration.nix @@ -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; networking = {