diff --git a/lib/default.nix b/lib/default.nix index 92f4b81a..f40c5b19 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -45,7 +45,12 @@ unfree ? false }: inputs.${repo}.lib.nixosSystem { specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; - pkgs = import inputs.nixpkgs-unstable { + pkgs = import inputs.${repo} { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; + pkgs-unstable = import inputs.nixpkgs-unstable { inherit system; config.allowUnfree = true; hostPlatform = true;