diff --git a/lib/default.nix b/lib/default.nix index 8c1a6e43..e390b602 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -46,12 +46,13 @@ }: 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; + }; + modules = let - pkgs = import inputs.${repo} { - inherit system; - config.allowUnfree = unfree; - hostPlatform = system; - }; unstable-pkgs = import inputs.nixpkgs-unstable { inherit system; config.allowUnfree = unfree;