xdg: Hide desktop entries with home-manager

This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
This commit is contained in:
Donovan Glover 2024-07-14 09:20:48 -04:00
parent b58ff821d6
commit 15dbd547d2
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -4,7 +4,35 @@ let
inherit (config.home) homeDirectory;
in
{
xdg.userDirs = {
xdg = {
desktopEntries = {
htop = {
name = "htop";
noDisplay = true;
};
fish = {
name = "fish";
noDisplay = true;
};
nvim = {
name = "nvim";
noDisplay = true;
};
yazi = {
name = "yazi";
noDisplay = true;
};
tectonic = {
name = "tectonic";
noDisplay = true;
};
};
userDirs = {
enable = true;
createDirectories = true;
@ -19,5 +47,6 @@ in
videos = "${homeDirectory}/";
};
xdg.configFile."user-dirs.locale".text = "ja_JP";
configFile."user-dirs.locale".text = "ja_JP";
};
}