From f6e9fe3aa6203cacc5b44af807560dbddfa559a5 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 4 Feb 2024 20:48:49 +0100 Subject: [PATCH] Set xdg user directories --- home/features/general/xdg-dirs.nix | 14 ++++++++++++++ home/global/default.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 home/features/general/xdg-dirs.nix diff --git a/home/features/general/xdg-dirs.nix b/home/features/general/xdg-dirs.nix new file mode 100644 index 0000000..5b7f6e8 --- /dev/null +++ b/home/features/general/xdg-dirs.nix @@ -0,0 +1,14 @@ +{ + xdg.userDirs = { + enable = true; + createDirectories = true; + desktop = "/home/ghoscht/Uni"; + download = "/home/ghoscht/Downloads"; + documents = "/home/ghoscht/Documents"; + music = null; + pictures = "/home/ghoscht/Pictures"; + publicShare = null; + templates = null; + videos = null; + }; +} diff --git a/home/global/default.nix b/home/global/default.nix index d3ebc4f..bc5e84d 100644 --- a/home/global/default.nix +++ b/home/global/default.nix @@ -20,6 +20,7 @@ # You can also split up your configuration and import pieces of it here: ../features/cli + ../features/general/xdg-dirs.nix ] ++ (builtins.attrValues outputs.homeManagerModules);