This commit is contained in:
iFargle 2024-01-31 11:54:47 +09:00
parent bfd671849e
commit f555efaa44

View file

@ -1,4 +1,4 @@
{ self, inputs, outputs, stateVersion, hmStateVersion, ... }: { { self, inputs, outputs, stateVersion, hmStateVersion, system ? builtins.currentSystem, ... }: {
deploy = { deploy = {
hostname, hostname,
platform ? "x86_64-linux", platform ? "x86_64-linux",
@ -44,7 +44,7 @@
repo ? "nixpkgs" repo ? "nixpkgs"
}: inputs.nixpkgs.lib.nixosSystem { }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; }; 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 = [ modules = [
# Types are 'default', 'small', and 'minimal' # Types are 'default', 'small', and 'minimal'