Fix errors

This commit is contained in:
Pedro Rey Anca 2025-10-16 23:00:18 +02:00
parent 01e941b6f5
commit 6ca28f7e4b
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A

View file

@ -6,9 +6,9 @@
}: let
hasDE = osConfig.hm-pedro.de != "none";
in {
xdg.mimeApps = lib.mkif (osConfig.hm-pedro.de != "none") {
xdg.mimeApps = lib.mkIf (osConfig.hm-pedro.de != "none") {
enable = true;
xdg.mimeApps.defaultApplications =
defaultApplications =
{
"application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"];
"text/plain" = ["org.gnome.TextEditor.desktop"];