move plaintext home-dirs out of home-manager module into users module

This commit is contained in:
colin 2023-01-03 07:35:42 +00:00
parent 327e6b536f
commit 5a2bbcce3b
2 changed files with 11 additions and 14 deletions

View File

@ -72,6 +72,17 @@ in
security.pam.mount.enable = true;
sane.impermanence.dirs.home.plaintext = [
"archive"
"dev"
# TODO: records should be private
"records"
"ref"
"tmp"
"use"
"Music"
"Pictures"
"Videos"
".cargo"
".rustup"
# TODO: move this to ~/private!

View File

@ -48,19 +48,6 @@ in
};
config = lib.mkIf cfg.enable {
sane.impermanence.dirs.home.plaintext = [
"archive"
"dev"
# TODO: records should be private
"records"
"ref"
"tmp"
"use"
"Music"
"Pictures"
"Videos"
];
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
@ -88,7 +75,6 @@ in
};
};
home.file = {
# convenience
"knowledge".source = config.lib.file.mkOutOfStoreSymlink "/home/colin/private/knowledge";