appropriately name unstable branch

This commit is contained in:
Sean Buckley 2021-04-09 00:35:43 -04:00
parent 9430afbe48
commit 0b51a17871
2 changed files with 8 additions and 8 deletions

View file

@ -1,12 +1,12 @@
{ {
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.stable2009.url = "github:NixOS/nixpkgs/nixos-20.09"; inputs.stable2009.url = "github:NixOS/nixpkgs/nixos-20.09";
outputs = { self, nixpkgs, stable2009 }: { outputs = { self, unstable, stable2009 }: {
nixosModule = { ... }: { nixosModule = { ... }: {
imports = [ ./. ]; imports = [ ./. ];
config = { sconfig.flakes.enable = true; }; config = { sconfig.flakes.enable = true; };
}; };
nixosConfigurations = import ./hosts { inherit nixpkgs stable2009; }; nixosConfigurations = import ./hosts { inherit unstable stable2009; };
}; };
} }

View file

@ -1,4 +1,4 @@
{ nixpkgs, stable2009 }: { unstable, stable2009 }:
let let
commonModules = [ commonModules = [
@ -29,8 +29,8 @@ let
in in
{ {
vm = mkQemuSystem { name = "vm"; pkgs = nixpkgs; }; vm = mkQemuSystem { name = "vm"; pkgs = unstable; };
hp = mkStandardSystem { name = "hp"; pkgs = nixpkgs; }; hp = mkStandardSystem { name = "hp"; pkgs = unstable; };
manta = mkStandardSystem { name = "manta"; pkgs = nixpkgs; }; manta = mkStandardSystem { name = "manta"; pkgs = unstable; };
neo = mkStandardSystem { name = "neo"; pkgs = nixpkgs; }; neo = mkStandardSystem { name = "neo"; pkgs = unstable; };
} }