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