nix/home/xdg/default.nix

18 lines
506 B
Nix
Raw Normal View History

{ homeDirectory, ... }: {
userDirs = {
enable = true;
createDirectories = true;
desktop = "${homeDirectory}/";
documents = "${homeDirectory}/document/";
download = "${homeDirectory}/download/";
2024-08-26 11:23:50 +03:00
music = "${homeDirectory}/music/";
pictures = "${homeDirectory}/picture/";
publicShare = "${homeDirectory}/share/";
2024-09-23 10:59:37 +03:00
templates = "${homeDirectory}/.template/";
2024-08-26 11:23:50 +03:00
videos = "${homeDirectory}/video/";
extraConfig = {
XDG_TMP_DIR = "${homeDirectory}/tmp/";
};
};
}