Add xdg user dir definitions

This commit is contained in:
RealStickman 2023-05-02 17:26:11 +02:00
parent f6eaf7b6b4
commit 37b20235ae
3 changed files with 20 additions and 0 deletions

View File

@ -126,6 +126,10 @@ in
source = ./home-manager/config/Vorlagen; source = ./home-manager/config/Vorlagen;
recursive = true; recursive = true;
}; };
# xdg user dirs
".config/user-dirs.dirs".source = ./home-manager/config/user-dirs.dirs;
# xdg user locales
".config/user-dirs.locale".source = ./home-manager/config/user-dirs.locale;
}; };
services.mako.enable = true; services.mako.enable = true;

View File

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Schreibtisch"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/.config/Vorlagen"
XDG_PUBLICSHARE_DIR="$HOME/Öffentlich"
XDG_DOCUMENTS_DIR="$HOME/Dokumente"
XDG_MUSIC_DIR="$HOME/Musik"
XDG_PICTURES_DIR="$HOME/Bilder"
XDG_VIDEOS_DIR="$HOME/Videos"

View File

@ -0,0 +1 @@
de_CH