diff options
Diffstat (limited to 'home')
-rw-r--r-- | home/common/home.nix | 1 | ||||
-rw-r--r-- | home/common/modules/xdgdirs.nix | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/home/common/home.nix b/home/common/home.nix index 08399b5..2202ee2 100644 --- a/home/common/home.nix +++ b/home/common/home.nix @@ -4,6 +4,7 @@ in { imports = [ ./modules/git.nix ./modules/shell.nix + ./modules/xdgdirs.nix ./modules/mimeapps.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"; + }; + }; +} |