From f555efaa440e2f05e8c8bc0f813b54dd808c83d3 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 31 Jan 2024 11:54:47 +0900 Subject: [PATCH] test --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'