[shared] Allow systems to run on unstable

This commit is contained in:
2025-10-18 13:44:14 +02:00
parent ddb8f8cfb5
commit c07940e86f
2 changed files with 18 additions and 1 deletions

View File

@@ -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