mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
f70894196c
Some programs use the desktop and won't do anything if the desktop directory isn't specified.
26 lines
542 B
Nix
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";
|
|
};
|
|
}
|