aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-04-28 20:26:48 +0200
committerAdrian Kummerlaender2018-04-28 20:26:48 +0200
commitf1b2bab6d3be9aab14c1d7992f23edbbb8d880fa (patch)
treef1ae644c51d69591be96935f9143e352285da813
parent02603ae5378c0bb263846b040aea36fe0d07a6f2 (diff)
downloadnixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar.gz
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar.bz2
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar.lz
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar.xz
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.tar.zst
nixos_home-f1b2bab6d3be9aab14c1d7992f23edbbb8d880fa.zip
Configure XDG user dirs
-rw-r--r--conf/xdg/user-dirs.dirs3
-rw-r--r--home.nix2
2 files changed, 5 insertions, 0 deletions
diff --git a/conf/xdg/user-dirs.dirs b/conf/xdg/user-dirs.dirs
new file mode 100644
index 0000000..9088276
--- /dev/null
+++ b/conf/xdg/user-dirs.dirs
@@ -0,0 +1,3 @@
+XDG_TEMPLATES_DIR="$HOME/"
+XDG_DESKTOP_DIR="$HOME/"
+XDG_DOWNLOADS_DIR="$HOME/downloads/"
diff --git a/home.nix b/home.nix
index c8a6fac..95e0a5d 100644
--- a/home.nix
+++ b/home.nix
@@ -44,6 +44,8 @@
'';
file.".config/kitty/kitty.conf".source = ./conf/kitty.conf;
+
+ file.".config/user-dirs.dirs".source = ./conf/xdg/user-dirs.dirs;
};
programs.git = {