20 lines
562 B
Nix
20 lines
562 B
Nix
{ homeDirectory, ... }:
|
|
{
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
desktop = "${homeDirectory}/";
|
|
documents = "${homeDirectory}/document/";
|
|
download = "${homeDirectory}/download/";
|
|
music = "${homeDirectory}/music/";
|
|
pictures = "${homeDirectory}/picture/";
|
|
publicShare = "${homeDirectory}/share/";
|
|
templates = "${homeDirectory}/.template/";
|
|
videos = "${homeDirectory}/video/";
|
|
extraConfig = {
|
|
XDG_CONFIG_HOME = "${homeDirectory}/.config";
|
|
XDG_TMP_DIR = "${homeDirectory}/tmp/";
|
|
};
|
|
};
|
|
}
|