From 924ec30e7075ea7a9dbac569a537d876f9146850 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 4 Apr 2024 17:06:23 +0200 Subject: refactor: move users/sils dir to hm --- hm/xdg/default.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hm/xdg/default.nix (limited to 'hm/xdg') diff --git a/hm/xdg/default.nix b/hm/xdg/default.nix new file mode 100644 index 0000000..9b682d5 --- /dev/null +++ b/hm/xdg/default.nix @@ -0,0 +1,18 @@ +{...}: { + xdg = { + enable = true; + mime.enable = true; + mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "okularApplication_pdf.desktop"; + "x-scheme-handler/http" = "firefox.desktop"; + "x-scheme-handler/https" = "firefox.desktop"; + "x-scheme-handler/unknown" = "firefox.desktop"; + "x-scheme-handler/sgnl" = "signal-desktop.desktop"; + "x-scheme-handler/signalcaptcha" = "signal-desktop.desktop"; + "x-scheme-handler/element" = "element-desktop.desktop"; + }; + }; + }; +} -- cgit 1.4.1