add default applications
This commit is contained in:
parent
d8f65b1fc1
commit
3e6e703783
16
home.nix
16
home.nix
|
|
@ -60,5 +60,21 @@ in
|
|||
};
|
||||
home.file.".icons/default/index.theme".enable = false;
|
||||
home.file.".icons/breeze_cursors".enable = false;
|
||||
xdg.mimeApps.enable = true;
|
||||
xdg.mimeApps.defaultApplications = let
|
||||
image = "nsxiv.desktop";
|
||||
browser = "firefox.desktop";
|
||||
text = "nvim.desktop";
|
||||
media = "mpv.desktop";
|
||||
in {
|
||||
"image/jpeg" = image;
|
||||
"image/png" = image;
|
||||
"image/gif" = media;
|
||||
"audio/mpeg" = media;
|
||||
"video/mp4" = media;
|
||||
"video/mpeg" = media;
|
||||
"text/plain" = text;
|
||||
"application/xml" = text;
|
||||
};
|
||||
home.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue