nixos-config/home/terminal/programs/xdg.nix
2024-05-10 19:39:17 +02:00

25 lines
488 B
Nix

{
config,
pkgs,
...
}: let
home = config.home.homeDirectory;
in {
xdg = {
enable = true;
cacheHome = config.home.homeDirectory + "/.local/cache";
userDirs = {
enable = true;
desktop = home + "/desktop";
documents = home + "/docs";
download = home + "/down";
music = home + "/music";
pictures = home + "/pics";
publicShare = home + "/share";
videos = home + "/vids";
};
};
home.packages = [pkgs.xdg-utils];
}