[shared] Allow systems to run on unstable
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
home-manager,
|
||||
...
|
||||
}@inputs:
|
||||
@@ -97,10 +98,14 @@
|
||||
{
|
||||
system,
|
||||
username,
|
||||
nixos,
|
||||
...
|
||||
}@systemConfig:
|
||||
|
||||
nixpkgs.lib.nixosSystem {
|
||||
let
|
||||
pkgs = if nixos.channel == "stable" then nixpkgs else nixpkgs-unstable;
|
||||
in
|
||||
pkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit
|
||||
|
Reference in New Issue
Block a user