From f5c9ecac8c2cb9f4cadc31295decbff6f6f96401 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 9 Feb 2024 22:58:33 +0900 Subject: [PATCH] test --- lib/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 68d321cd..6399418b 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -43,15 +43,22 @@ type ? "default", repo ? "nixpkgs", unfree ? false - }: { + }: + inputs.${repo}.lib.nixosSystem { + specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; + pkgs = import inputs.${repo} { inherit system; config.allowUnfree = unfree; hostPlatform = system; }; - inputs.${repo}.lib.nixosSystem { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; + pkgs-unstable = import inputs.nixpkgs-unstable { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; + modules = [ # Types are 'default', 'small', and 'minimal' ../nixos/${type}.nix