feat: define xdg user dirs
This commit is contained in:
parent
110b67cf6c
commit
35bd28fe4b
2 changed files with 18 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
|
./xdg.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
users/gandalf/modules/xdg.nix
Normal file
17
users/gandalf/modules/xdg.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, ... }: {
|
||||||
|
|
||||||
|
xdg.userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
desktop = "${config.home.homeDirectory}/tmp";
|
||||||
|
documents = "${config.home.homeDirectory}/docs";
|
||||||
|
download = "${config.home.homeDirectory}/dl";
|
||||||
|
music = "${config.home.homeDirectory}/music";
|
||||||
|
pictures = "${config.home.homeDirectory}/pics";
|
||||||
|
publicShare = "${config.home.homeDirectory}/public";
|
||||||
|
templates = "${config.home.homeDirectory}/templates";
|
||||||
|
videos = "${config.home.homeDirectory}/vids";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue