From e6e4b56a89f922477bb5c3869a88313bd7c24dd8 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 2 Jun 2023 17:39:51 -0400 Subject: [PATCH] Use correct locale for xdg-user-dirs --- desktop/xdg-user-dirs/default.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/desktop/xdg-user-dirs/default.nix b/desktop/xdg-user-dirs/default.nix index fd7708d..37dbce6 100644 --- a/desktop/xdg-user-dirs/default.nix +++ b/desktop/xdg-user-dirs/default.nix @@ -1,5 +1,19 @@ { home-manager.sharedModules = [{ - xdg = { userDirs = { enable = true; }; }; + xdg.userDirs = { + enable = true; + + desktop = null; + templates = null; + publicShare = null; + + download = "/home/user/ダウンロード"; + documents = "/home/user/ドキュメント"; + music = "/home/user/音楽"; + pictures = "/home/user/画像"; + videos = "/home/user/ビデオ"; + }; + + xdg.configFile."user-dirs.locale".text = "ja_JP"; }]; }