summaryrefslogtreecommitdiff
path: root/home/common/modules/xdgdirs.nix
blob: 3073a106c120c959954f0eb27802249ac36f44dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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";
    };
  };
}