This commit is contained in:
iFargle 2023-09-19 10:41:49 +09:00
parent 544fd6f691
commit 2671c05a7e

View file

@ -42,10 +42,13 @@
gpu ? null, gpu ? null,
theme ? "default", theme ? "default",
format format
}: inputs.nixos-generators.nixosGenerate { }:
inputs.nixos-generators.nixosGenerate {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme format; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme format; };
system = platform; system = platform;
format = format; format = format;
pkgs = import nixkpgs { inherit system; }
modules = [ modules = [
../nixos ../nixos
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
@ -55,9 +58,9 @@
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
# users.users."$username" = import ../home-manager; users.users."$username" = import ../home-manager;
imports = [ imports = [
# inputs.doom-emacs.hmModule inputs.doom-emacs.hmModule
]; ];
} }
]; ];