diff options
author | Soispha <soispha@vhack.eu> | 2023-12-29 09:24:28 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-12-29 09:24:28 +0100 |
commit | 5474561898d776335864f5e6f9ea796ec03eb73f (patch) | |
tree | a7cb08091865877081b57ff245e81f9c71fdd535 | |
parent | fix(hm/conf/): Use new xdg config module (diff) | |
download | nixos-config-5474561898d776335864f5e6f9ea796ec03eb73f.tar.gz nixos-config-5474561898d776335864f5e6f9ea796ec03eb73f.zip |
fix(hm/conf/xdg): Correctly specify the attr names under xdg
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/conf/xdg/default.nix | 22 |
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"]; - }; }; } |