diff --git a/lib/default.nix b/lib/default.nix index d6b00927..c24dd168 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -50,9 +50,11 @@ inputs.sops-nix.nixosModules.sops inputs.lanzaboote.nixosModules.lanzaboote inputs.home-manager.nixosModules.home-manager { + extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion theme; }; + home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - users.users.${username} = import ../home-manager; + users.users.albert = import ../home-manager; imports = [ inputs.doom-emacs.hmModule ];