Skip to content

Commit

Permalink
Enforce ~/.config/user-dirs.dirs with English
Browse files Browse the repository at this point in the history
Mandatory atleast we have problems as #667
  • Loading branch information
kachick committed Jul 11, 2024
1 parent 2617245 commit 3e6ce68
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions home-manager/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@
Type=Application
'';

# xdg-user-dirs NixOS module does not work or is not enough for me to keep English dirs even in Japanese locale.
# Check your `~/.config/user-dirs.dirs` if you faced any trouble
# https://github.com/nix-community/home-manager/blob/release-24.05/modules/misc/xdg-user-dirs.nix
xdg.userDirs = {
enable = true;
createDirectories = true;
};

# https://github.com/NixOS/nixpkgs/issues/222925#issuecomment-1514112861
xdg.configFile."autostart/userdirs.desktop".text = ''
[Desktop Entry]
Expand Down

0 comments on commit 3e6ce68

Please sign in to comment.