nix-config/home/xdg-user-dirs.nix
Donovan Glover 64ce2763bc
xdg-user-dirs: Set desktop directory
Fixes an issue where programs that depend on the desktop directory
weren't able to find it.
2024-08-26 14:04:36 -04:00

26 lines
561 B
Nix

{ config, ... }:
let
inherit (config.home) homeDirectory;
in
{
xdg = {
userDirs = {
enable = true;
createDirectories = true;
templates = null;
publicShare = null;
desktop = "${homeDirectory}/";
download = "${homeDirectory}/";
documents = "${homeDirectory}/";
music = "${homeDirectory}/";
pictures = "${homeDirectory}/";
videos = "${homeDirectory}/";
};
configFile."user-dirs.locale".text = "ja_JP";
};
}