nixfiles/home/home-folders.nix
2022-12-04 16:10:00 +00:00

17 lines
373 B
Nix

{config, ...}: {
systemd.user.tmpfiles.rules = map (dir: "d ${config.home.homeDirectory}/${dir} - ${config.home.username} users") [
"Projects"
"Temp"
"Music"
"Mounts"
"Mounts/Storage"
"Mounts/Storage-Public"
"Mounts/Backups"
"Mounts/Backups-Crypt"
"Mounts/Photos-Crypt"
"Mounts/Public"
"Mounts/Temp1"
"Mounts/Temp2"
];
}