From fa95532f9b8bc433ff4187181afdc57166e6bd6b Mon Sep 17 00:00:00 2001 From: sils Date: Tue, 22 Aug 2023 18:11:10 +0200 Subject: Feat(u/sils): Add xdg config --- users/sils/default.nix | 1 + users/sils/xdg/default.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 users/sils/xdg/default.nix diff --git a/users/sils/default.nix b/users/sils/default.nix index d39d785..2480fba 100644 --- a/users/sils/default.nix +++ b/users/sils/default.nix @@ -17,6 +17,7 @@ ./xsession #./yambar #TODO Update Shell Library ./waybar + ./xdg ./zsh nixvim.homeManagerModules.nixvim ]; diff --git a/users/sils/xdg/default.nix b/users/sils/xdg/default.nix new file mode 100644 index 0000000..f13322f --- /dev/null +++ b/users/sils/xdg/default.nix @@ -0,0 +1,13 @@ +{...}: { + xdg = { + enable = true; + mime.enable = true; + mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "firefox.desktop"; + "x-scheme-handler/unknown" = "firefox.desktop"; + }; + }; + }; +} -- cgit 1.4.1