os/shared/home/xdg.nix

23 lines
466 B
Nix
Raw Normal View History

{ config, ... }:
let homeDir = config.home.homeDirectory;
in {
xdg.userDirs = {
# Let Nix manage the XDG directories
enable = true;
createDirectories = true;
# Define the paths
download = "/tmp";
music = "${homeDir}/music";
documents = "${homeDir}/docs";
pictures = "${homeDir}/pics";
# Disable generation of these
desktop = null;
publicShare = null;
templates = null;
videos = null;
};
}