nix-config/home/xdg-user-dirs.nix
Donovan Glover f70894196c
xdg-user-dirs: Set desktop to home directory
Some programs use the desktop and won't do anything if the desktop
directory isn't specified.
2024-09-08 14:01:03 -04:00

26 lines
542 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";
};
}