about summary refs log tree commit diff
path: root/users/fcuny/desktop/xdg.nix
blob: 44a5ce1731dec3d5d2a3b35d277a404df37ea394 (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
26
27
28
{ config, lib, pkgs, ... }:

{
  home.packages = [
    pkgs.xdg-user-dirs
  ];

  xdg = {
    enable = true;

    mimeApps = {
      enable = true;
    };

    userDirs = {
      enable = true;
      createDirectories = true;
      desktop = "${config.home.homeDirectory}/documents";
      documents = "${config.home.homeDirectory}/documents";
      download = "${config.home.homeDirectory}/downloads";
      music = "${config.home.homeDirectory}/media/music";
      pictures = "${config.home.homeDirectory}/media/pictures";
      publicShare = "${config.home.homeDirectory}/documents/public";
      templates = "${config.home.homeDirectory}/documents/templates";
      videos = "${config.home.homeDirectory}/media/videos";
    };
  };
}