simplify some home-manager things

This commit is contained in:
2025-06-24 23:28:25 -07:00
parent 73b56555a6
commit e269c50306
2 changed files with 4 additions and 4 deletions

View File

@@ -86,13 +86,14 @@
modules = [
home-manager.nixosModules.home-manager
(
{ ... }:
{ config, ... }:
{
# home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs hostname username;
homeDirectory = "/home/${username}";
stateVersion = config.system.stateVersion;
};
home-manager.users.${username} = import ./home-manager/home-${hostname}.nix;
}