Set xdg user directories
This commit is contained in:
parent
f042ecc70f
commit
f6e9fe3aa6
2 changed files with 15 additions and 0 deletions
14
home/features/general/xdg-dirs.nix
Normal file
14
home/features/general/xdg-dirs.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
xdg.userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
desktop = "/home/ghoscht/Uni";
|
||||||
|
download = "/home/ghoscht/Downloads";
|
||||||
|
documents = "/home/ghoscht/Documents";
|
||||||
|
music = null;
|
||||||
|
pictures = "/home/ghoscht/Pictures";
|
||||||
|
publicShare = null;
|
||||||
|
templates = null;
|
||||||
|
videos = null;
|
||||||
|
};
|
||||||
|
}
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
../features/cli
|
../features/cli
|
||||||
|
../features/general/xdg-dirs.nix
|
||||||
]
|
]
|
||||||
++ (builtins.attrValues outputs.homeManagerModules);
|
++ (builtins.attrValues outputs.homeManagerModules);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue