nix-config/home/xdg-user-dirs.nix

66 lines
1.3 KiB
Nix
Raw Normal View History

{ config, ... }:
let
inherit (config.home) homeDirectory;
2024-08-03 20:22:47 +02:00
no = {
name = "";
noDisplay = true;
};
in
{
xdg = {
desktopEntries = {
htop = no;
fish = no;
nvim = no;
yazi = no;
gcdemu = no;
tectonic = no;
mullvad-vpn = no;
nixos-manual = no;
image-analyzer = no;
activate-linux = no;
thunar-settings = no;
thunar-bulk-rename = no;
thunar-volman-settings = no;
fcitx5-configtool = no;
base = no;
calc = no;
draw = no;
math = no;
writer = no;
impress = no;
startcenter = no;
"org.fcitx.Fcitx5" = no;
"org.fcitx.fcitx5-migrator" = no;
"org.gnome.Extensions" = no;
"org.pwmt.zathura" = no;
"org.gnome.eog" = no;
"org.gnome.Settings" = no;
"org.sigxcpu.Livi" = no;
};
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";
};
}