nixdots/home/programs/xdg/user-dirs.nix

23 lines
655 B
Nix
Raw Permalink Normal View History

2024-04-04 21:17:11 +00:00
# Manage $XDG_CONFIG_HOME/user-dirs.dirs
2024-07-26 23:07:07 +00:00
{config, ...}: {
2024-04-04 21:17:11 +00:00
xdg.userDirs = {
enable = true;
createDirectories = true;
desktop = null;
documents = null;
download = "${config.home.homeDirectory}/Downloads";
publicShare = "${config.home.homeDirectory}/.local/share/public";
templates = "${config.home.homeDirectory}/.local/share/templates";
music = "${config.home.homeDirectory}/Media/Music";
pictures = "${config.home.homeDirectory}/Media/Pictures";
videos = "${config.home.homeDirectory}/Media/Videos";
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
};
};
}