move xdg dirs config to home level

This commit is contained in:
ulic-youthlic 2025-02-01 18:00:40 +08:00
parent eada853044
commit bb8f250624
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 28 additions and 24 deletions

View file

@ -29,20 +29,9 @@
david = {
wallpaper.enable = true;
programs.openssh.enable = true;
xdg-dirs.enable = true;
};
xdg.userDirs = {
enable = true;
download = "${config.home.homeDirectory}/dls";
documents = "${config.home.homeDirectory}/doc";
music = "${config.home.homeDirectory}/mus";
pictures = "${config.home.homeDirectory}/pic";
videos = "${config.home.homeDirectory}/vid";
templates = "${config.home.homeDirectory}/tpl";
publicShare = "${config.home.homeDirectory}/pub";
desktop = "${config.home.homeDirectory}/dsk";
createDirectories = true;
};
home.username = "${unixName}";
home.homeDirectory = "/home/${unixName}";
home.stateVersion = "24.11";