blob: 7a0bf3283cbe3afd87b0392fdee92751de6edd22 (
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
29
30
31
32
33
|
{ pkgs, config, ... }:
{
home.packages = with pkgs; [
xdg-utils
xdg-ninja
];
xdg = {
enable = true;
cacheHome = "${config.home.homeDirectory}/.cache";
configHome = "${config.home.homeDirectory}/.config";
dataHome = "${config.home.homeDirectory}/.local/share";
stateHome = "${config.home.homeDirectory}/.local/state";
userDirs = {
enable = pkgs.stdenv.isLinux;
createDirectories = true;
download = "${config.home.homeDirectory}/Downloads";
desktop = "${config.home.homeDirectory}/Desktop";
documents = "${config.home.homeDirectory}/Documents";
publicShare = null; # "${config.home.homeDirectory}/Public";
templates = null; # "${config.home.homeDirectory}/Templates";
music = "${config.home.homeDirectory}/Music";
pictures = "${config.home.homeDirectory}/Pictures";
videos = "${config.home.homeDirectory}/Videos";
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
XDG_MAIL_DIR = "${config.home.homeDirectory}/Mail";
};
};
};
}
|