nix-config/home/xdg-user-dirs.nix
Donovan Glover a6f2c58d51
meta: Don't hardcode home directory
This is a much better way of handling things.
2024-04-04 19:39:35 -04:00

24 lines
495 B
Nix

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