os/shared/home/xdg.nix
Riley Apeldoorn 027bbd01c1 A bunch of random stuff
- XDG user directories
- Fingerprint reader on `lime`
- Enable tailscale
- Enable `iamb` on `lime`
2023-06-17 20:09:52 +02:00

23 lines
No EOL
466 B
Nix

{ 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;
};
}