mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-26 07:38:37 +01:00
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:
parent
646aeadbc0
commit
6b7c52289c
@ -4,7 +4,35 @@ let
|
|||||||
inherit (config.home) homeDirectory;
|
inherit (config.home) homeDirectory;
|
||||||
in
|
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;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
|
|
||||||
@ -19,5 +47,6 @@ in
|
|||||||
videos = "${homeDirectory}/ビデオ";
|
videos = "${homeDirectory}/ビデオ";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."user-dirs.locale".text = "ja_JP";
|
configFile."user-dirs.locale".text = "ja_JP";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user