ooknet/modules/home/base/home-manager.nix
2025-01-20 11:17:12 +11:00

24 lines
471 B
Nix

{
config,
osConfig,
...
}: let
inherit (osConfig.ooknet.host) admin;
in {
programs.home-manager.enable = true;
systemd.user.startServices = "sd-switch";
home = {
username = admin.name;
homeDirectory = "/home/${config.home.username}";
stateVersion = "22.05";
sessionPath = ["${config.home.homeDirectory}/.local/bin"];
};
# to save space
manual = {
html.enable = false;
json.enable = false;
manpages.enable = false;
};
}