2024-11-02 15:35:48 -07:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
2024-10-25 19:53:54 -07:00
|
|
|
home.preferXdgDirectories = true;
|
|
|
|
|
2024-11-02 15:35:48 -07:00
|
|
|
xdg =
|
|
|
|
let
|
|
|
|
homeDir = config.home.homeDirectory;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
2024-10-25 19:53:54 -07:00
|
|
|
|
2024-11-02 15:35:48 -07:00
|
|
|
cacheHome = "${homeDir}/.cache";
|
|
|
|
configHome = "${homeDir}/.config";
|
|
|
|
dataHome = "${homeDir}/.local/share";
|
|
|
|
stateHome = "${homeDir}/.local/state";
|
2024-10-25 19:53:54 -07:00
|
|
|
|
2024-11-02 15:35:48 -07:00
|
|
|
userDirs = {
|
|
|
|
enable = true;
|
|
|
|
createDirectories = true;
|
2024-10-25 19:53:54 -07:00
|
|
|
|
2024-11-02 15:35:48 -07:00
|
|
|
desktop = "${homeDir}/desktop";
|
|
|
|
documents = null;
|
|
|
|
download = "${homeDir}/downloads";
|
|
|
|
music = null;
|
|
|
|
pictures = "${homeDir}/pictures";
|
|
|
|
templates = null;
|
|
|
|
videos = "${homeDir}/videos";
|
|
|
|
};
|
2024-10-25 19:53:54 -07:00
|
|
|
};
|
|
|
|
}
|