Add a way in flake to experiment with unstable

This commit is contained in:
Bun 2025-04-18 02:58:46 -04:00
parent 6ead3afd36
commit 99df29e876
3 changed files with 22 additions and 8 deletions

View file

@ -51,7 +51,7 @@
}@inputs: }@inputs:
let let
mkNix = modules: stable.lib.nixosSystem { mkNix = modules: channel: channel.lib.nixosSystem {
inherit modules; inherit modules;
specialArgs = inputs; specialArgs = inputs;
}; };
@ -62,15 +62,15 @@
in { in {
# nh os switch /path --hostname=host # nh os switch /path --hostname=host
nixosConfigurations = { nixosConfigurations = {
tower = mkNix [ ./hosts/tower ]; # Main Desktop tower = mkNix [ ./hosts/tower ] stable; # Main Desktop
envy = mkNix [ ./hosts/envy ]; # HP Convertable envy = mkNix [ ./hosts/envy ] stable; # HP Convertable
intuos = mkNix [ ./hosts/intuos ]; # Wacom Intuos Tablet intuos = mkNix [ ./hosts/intuos ] unstable; # Wacom Intuos Tablet
redmond = mkNix [ ./hosts/redmond ]; # Lenovo Dual-Boot redmond = mkNix [ ./hosts/redmond ] stable; # Lenovo Dual-Boot
midas = mkNix [ ./hosts/midas ]; # Dell Optiplex 5040 midas = mkNix [ ./hosts/midas ] stable; # Dell Optiplex 5040
kitty = mkNix [ ./hosts/kitty ]; # Dell Optiplex 7010 kitty = mkNix [ ./hosts/kitty ] stable; # Dell Optiplex 7010
prophet = mkNix [ ./hosts/prophet ]; # Oracle Neoverse-N1 prophet = mkNix [ ./hosts/prophet ] stable; # Oracle Neoverse-N1
}; };
# nh home switch /path -c arch # nh home switch /path -c arch

View file

@ -5,6 +5,7 @@
./disko ./disko
./filesystems ./filesystems
./hardware ./hardware
./network
./users ./users
../../modules/system ../../modules/system
]; ];

View file

@ -0,0 +1,13 @@
{ ... }:
{
networking = {
interfaces."wlp1s0".ipv4.addresses = [{
address = "10.2.0.101";
prefixLength = 8;
}];
defaultGateway = {
address = "10.1.0.1";
interface = "wlp1s0";
};
};
}