This commit is contained in:
iFargle 2024-01-31 11:45:37 +09:00
parent 1dc82c4346
commit 589ee0824e

View file

@ -1,4 +1,4 @@
{ self, inputs, outputs, stateVersion, hmStateVersion, system, ... }: {
{ self, inputs, outputs, stateVersion, hmStateVersion, ... }: {
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 system; };
pkgs = import inputs.${repo} { inherit ${platform}; };
modules = [
# Types are 'default', 'small', and 'minimal'