summaryrefslogtreecommitdiff
path: root/home/common/modules/xdgdirs.nix
blob: a2dce4faced8b8bca603612b94eb0f1c22daa230 (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
24
25
{ 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";
    };
  };
}