From e188c7ad2688d07a1494ec6f87c6e8d854dd63b1 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 18 Jun 2024 08:15:36 +0530 Subject: home/common/xdgdirs: init --- home/common/modules/xdgdirs.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 home/common/modules/xdgdirs.nix (limited to 'home/common/modules/xdgdirs.nix') diff --git a/home/common/modules/xdgdirs.nix b/home/common/modules/xdgdirs.nix new file mode 100644 index 0000000..3073a10 --- /dev/null +++ b/home/common/modules/xdgdirs.nix @@ -0,0 +1,23 @@ +{ config, ... }: let + home = config.home.homeDirectory; + + etc = home + "/etc"; + dl = home + "/dl"; +in { + xdg = { + enable = true; + + userDirs = { + enable = true; + + download = dl; + desktop = etc; + templates = etc; + publicShare = dl; + music = home + "/ms"; + videos = home + "/vid"; + pictures = home + "/pix"; + documents = home + "/doc"; + }; + }; +} -- cgit v1.2.3