nix/home/xdg/default.nix

18 lines
505 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/";
templates = "${homeDirectory}/template/";
videos = "${homeDirectory}/video/";
extraConfig = {
XDG_TMP_DIR = "${homeDirectory}/tmp/";
};
};
}