nix/home/xdg/default.nix

20 lines
562 B
Nix
Raw Normal View History

{ homeDirectory, ... }:
{
userDirs = {
enable = true;
createDirectories = true;
desktop = "${homeDirectory}/";
documents = "${homeDirectory}/document/";
download = "${homeDirectory}/download/";
music = "${homeDirectory}/music/";
pictures = "${homeDirectory}/picture/";
publicShare = "${homeDirectory}/share/";
templates = "${homeDirectory}/.template/";
videos = "${homeDirectory}/video/";
extraConfig = {
2024-11-02 07:40:13 +03:00
XDG_CONFIG_HOME = "${homeDirectory}/.config";
XDG_TMP_DIR = "${homeDirectory}/tmp/";
};
};
}