diff --git a/lib/default.nix b/lib/default.nix index 087267d8..9966ba0d 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -1,4 +1,4 @@ -{ self, inputs, outputs, stateVersion, hmStateVersion, ... }: { +{ self, inputs, outputs, stateVersion, hmStateVersion, system ? builtins.currentSystem, ... }: { deploy = { hostname, platform ? "x86_64-linux", @@ -44,7 +44,7 @@ repo ? "nixpkgs" }: inputs.nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; }; - pkgs = import inputs.${repo} { inherit builtins.currentSystem; }; + pkgs = import inputs.${repo} { inherit system; }; modules = [ # Types are 'default', 'small', and 'minimal'