25 lines
478 B
Nix
25 lines
478 B
Nix
{
|
|
lib,
|
|
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;
|
|
};
|
|
}
|