mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
64ce2763bc
Fixes an issue where programs that depend on the desktop directory weren't able to find it.
26 lines
561 B
Nix
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";
|
|
};
|
|
}
|