mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
appropriately name unstable branch
This commit is contained in:
parent
9430afbe48
commit
0b51a17871
2 changed files with 8 additions and 8 deletions
|
@ -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; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue