diff --git a/flake.nix b/flake.nix index 87f768a9..8eba137a 100644 --- a/flake.nix +++ b/flake.nix @@ -51,7 +51,7 @@ }@inputs: let - mkNix = modules: stable.lib.nixosSystem { + mkNix = modules: channel: channel.lib.nixosSystem { inherit modules; specialArgs = inputs; }; @@ -62,15 +62,15 @@ in { # nh os switch /path --hostname=host nixosConfigurations = { - tower = mkNix [ ./hosts/tower ]; # Main Desktop + tower = mkNix [ ./hosts/tower ] stable; # Main Desktop - envy = mkNix [ ./hosts/envy ]; # HP Convertable - intuos = mkNix [ ./hosts/intuos ]; # Wacom Intuos Tablet - redmond = mkNix [ ./hosts/redmond ]; # Lenovo Dual-Boot + envy = mkNix [ ./hosts/envy ] stable; # HP Convertable + intuos = mkNix [ ./hosts/intuos ] unstable; # Wacom Intuos Tablet + redmond = mkNix [ ./hosts/redmond ] stable; # Lenovo Dual-Boot - midas = mkNix [ ./hosts/midas ]; # Dell Optiplex 5040 - kitty = mkNix [ ./hosts/kitty ]; # Dell Optiplex 7010 - prophet = mkNix [ ./hosts/prophet ]; # Oracle Neoverse-N1 + midas = mkNix [ ./hosts/midas ] stable; # Dell Optiplex 5040 + kitty = mkNix [ ./hosts/kitty ] stable; # Dell Optiplex 7010 + prophet = mkNix [ ./hosts/prophet ] stable; # Oracle Neoverse-N1 }; # nh home switch /path -c arch diff --git a/hosts/intuos/default.nix b/hosts/intuos/default.nix index 73445bcd..55e3a393 100644 --- a/hosts/intuos/default.nix +++ b/hosts/intuos/default.nix @@ -5,6 +5,7 @@ ./disko ./filesystems ./hardware + ./network ./users ../../modules/system ]; diff --git a/hosts/intuos/network/default.nix b/hosts/intuos/network/default.nix new file mode 100644 index 00000000..59f498e6 --- /dev/null +++ b/hosts/intuos/network/default.nix @@ -0,0 +1,13 @@ +{ ... }: +{ + networking = { + interfaces."wlp1s0".ipv4.addresses = [{ + address = "10.2.0.101"; + prefixLength = 8; + }]; + defaultGateway = { + address = "10.1.0.1"; + interface = "wlp1s0"; + }; + }; +}