This commit is contained in:
iFargle 2024-02-09 22:05:42 +09:00
parent d469331d3b
commit 7aa6674372

View file

@ -44,7 +44,6 @@
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false unfree ? false
}: inputs.${repo}.lib.nixosSystem { }: inputs.${repo}.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
let let
pkgs = import inputs.${repo} { pkgs = import inputs.${repo} {
inherit system; inherit system;
@ -57,6 +56,7 @@
hostPlatform = system; hostPlatform = system;
}; };
in { in {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
modules = [ modules = [
# Types are 'default', 'small', and 'minimal' # Types are 'default', 'small', and 'minimal'
../nixos/${type}.nix ../nixos/${type}.nix