Reapply "xdg: Hide desktop entries with home-manager"

This is actually useful to create a minimal phone configuration and we
can optimize this further.
This commit is contained in:
Donovan Glover 2024-07-24 17:11:11 -04:00
parent 646aeadbc0
commit 6b7c52289c
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -4,20 +4,49 @@ let
inherit (config.home) homeDirectory; inherit (config.home) homeDirectory;
in in
{ {
xdg.userDirs = { xdg = {
enable = true; desktopEntries = {
createDirectories = true; htop = {
name = "htop";
noDisplay = true;
};
desktop = null; fish = {
templates = null; name = "fish";
publicShare = null; noDisplay = true;
};
download = "${homeDirectory}/"; nvim = {
documents = "${homeDirectory}/"; name = "nvim";
music = "${homeDirectory}/"; noDisplay = true;
pictures = "${homeDirectory}/"; };
videos = "${homeDirectory}/";
yazi = {
name = "yazi";
noDisplay = true;
};
tectonic = {
name = "tectonic";
noDisplay = true;
};
};
userDirs = {
enable = true;
createDirectories = true;
desktop = null;
templates = null;
publicShare = null;
download = "${homeDirectory}/";
documents = "${homeDirectory}/";
music = "${homeDirectory}/";
pictures = "${homeDirectory}/";
videos = "${homeDirectory}/";
};
configFile."user-dirs.locale".text = "ja_JP";
}; };
xdg.configFile."user-dirs.locale".text = "ja_JP";
} }