nix-config/home/xdg.nix

26 lines
537 B
Nix
Raw Normal View History

2021-02-21 20:30:21 +01:00
{ ... }:
{
xdg = {
enable = true;
# File types
mime.enable = true;
# File associatons
mimeApps = {
enable = true;
};
2021-02-21 20:32:54 +01:00
# User directories
userDirs = {
enable = true;
# I want them lowercased
desktop = "\$HOME/desktop";
documents = "\$HOME/documents";
download = "\$HOME/downloads";
music = "\$HOME/music";
pictures = "\$HOME/pictures";
publicShare = "\$HOME/public";
templates = "\$HOME/templates";
videos = "\$HOME/videos";
};
2021-02-21 20:30:21 +01:00
};
}