From af336197c48008170f4057fcbfa3e60c64790906 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 2 Apr 2024 23:00:13 -0400 Subject: [PATCH] home-manager: added xdg userDirs --- homeManagerModules/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/homeManagerModules/default.nix b/homeManagerModules/default.nix index 084eda07..698ac612 100644 --- a/homeManagerModules/default.nix +++ b/homeManagerModules/default.nix @@ -10,4 +10,15 @@ allowUnfree = true; }; }; + + xdg.userDirs = { + enable = true; + createDirectories = true; + documents = "${config.home.homeDirectory}/docs"; + download = "${config.home.homeDirectory}/downloads"; + music = "${config.home.homeDirectory}/music"; + videos = "${config.home.homeDirectory}/vids"; + pictures = "${config.home.homeDirectory}/pics"; + extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; }; + }; }