about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hm/soispha/conf/xdg/default.nix22
1 files changed, 12 insertions, 10 deletions
diff --git a/hm/soispha/conf/xdg/default.nix b/hm/soispha/conf/xdg/default.nix
index d18377c0..3715cc87 100644
--- a/hm/soispha/conf/xdg/default.nix
+++ b/hm/soispha/conf/xdg/default.nix
@@ -17,8 +17,18 @@
     };
   };
 in {
-  xdg.mimeApps = {
-    enable = true;
+  xdg = {
+    mimeApps = {
+      enable = true;
+      defaultApplications = {
+        "text/html" = ["url_handler.desktop"];
+        "text/xml" = ["url_handler.desktop"];
+        "x-scheme-handler/http" = ["url_handler.desktop"];
+        "x-scheme-handler/https" = ["url_handler.desktop"];
+        "x-scheme-handler/about" = ["url_handler.desktop"];
+        "x-scheme-handler/unknown" = ["url_handler.desktop"];
+      };
+    };
     desktopEntries = {
       url_handler = {
         name = "url_handler";
@@ -40,13 +50,5 @@ in {
         ];
       };
     };
-    defaultApplications = {
-      "text/html" = ["url_handler.desktop"];
-      "text/xml" = ["url_handler.desktop"];
-      "x-scheme-handler/http" = ["url_handler.desktop"];
-      "x-scheme-handler/https" = ["url_handler.desktop"];
-      "x-scheme-handler/about" = ["url_handler.desktop"];
-      "x-scheme-handler/unknown" = ["url_handler.desktop"];
-    };
   };
 }