home: xdg: add 'mime-apps'

This commit is contained in:
Bruno BELANYI 2025-01-30 22:48:46 +00:00
parent 17ceaa5620
commit 313b2552cb
2 changed files with 192 additions and 4 deletions

View file

@ -3,6 +3,10 @@ let
cfg = config.my.home.xdg;
in
{
imports = [
./mime-apps.nix
];
options.my.home.xdg = with lib; {
enable = my.mkDisableOption "XDG configuration";
};
@ -11,10 +15,6 @@ in
enable = true;
# File types
mime.enable = true;
# File associations
mimeApps = {
enable = true;
};
# User directories
userDirs = {
enable = true;