mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 23:48:14 +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,20 +4,49 @@ let
|
||||
inherit (config.home) homeDirectory;
|
||||
in
|
||||
{
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
xdg = {
|
||||
desktopEntries = {
|
||||
htop = {
|
||||
name = "htop";
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
desktop = null;
|
||||
templates = null;
|
||||
publicShare = null;
|
||||
fish = {
|
||||
name = "fish";
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
download = "${homeDirectory}/ダウンロード";
|
||||
documents = "${homeDirectory}/ドキュメント";
|
||||
music = "${homeDirectory}/音楽";
|
||||
pictures = "${homeDirectory}/画像";
|
||||
videos = "${homeDirectory}/ビデオ";
|
||||
nvim = {
|
||||
name = "nvim";
|
||||
noDisplay = true;
|
||||
};
|
||||
|
||||
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user