diff options
Diffstat (limited to 'archetypes/profiles/desktop/default.nix')
-rw-r--r-- | archetypes/profiles/desktop/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/archetypes/profiles/desktop/default.nix b/archetypes/profiles/desktop/default.nix index 499de17..00dea7e 100644 --- a/archetypes/profiles/desktop/default.nix +++ b/archetypes/profiles/desktop/default.nix @@ -72,7 +72,17 @@ desktop = mkDesktop true; }; - xdg.mimeApps._setDefaultApplications.enable = true; + xdg.mimeApps._defaultCategoryApplications = { + enable = true; + categoryApplications = { + audio = [ "mpv" ]; + email = [ "thunderbird" ]; + image = [ "sxiv" ]; + pdf = [ "org.pwmt.zathura-pdf-mupdf" ]; + text = [ "nvim" ]; + video = [ "mpv" ]; + }; + }; }; in { imports = [ (lib._mkProfileArchetype "desktop" nixosConfig homeConfig) ]; |