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

53 lines
936 B
Nix
Raw Normal View History

{ config, ... }:
let
inherit (config.home) homeDirectory;
in
{
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;
};
};
2023-06-02 23:39:51 +02:00
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";
};
}