refactor: complete rewrite
This commit is contained in:
parent
19a4bbda3c
commit
8e81943cf9
399 changed files with 3396 additions and 8042 deletions
26
modules/home/base/home-manager.nix
Normal file
26
modules/home/base/home-manager.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkDefault;
|
||||
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 = mkDefault "22.05";
|
||||
sessionPath = ["${config.home.homeDirectory}/.local/bin"];
|
||||
};
|
||||
|
||||
# to save space
|
||||
manual = {
|
||||
html.enable = false;
|
||||
json.enable = false;
|
||||
manpages.enable = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue