From b8b61d7da6fadec0a61be641c6a95ebe9304daa9 Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 4 Jul 2023 12:43:04 +0800 Subject: [PATCH] default brower --- home/user/default.nix | 1 + home/user/xdg.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 home/user/xdg.nix diff --git a/home/user/default.nix b/home/user/default.nix index 826b04b..e6d941d 100644 --- a/home/user/default.nix +++ b/home/user/default.nix @@ -3,6 +3,7 @@ ./home.nix ./programs.nix ./services.nix + ./xdg.nix ]; systemd.user.services = { diff --git a/home/user/xdg.nix b/home/user/xdg.nix new file mode 100644 index 0000000..44ce833 --- /dev/null +++ b/home/user/xdg.nix @@ -0,0 +1,9 @@ +{ + xdg = { + enable = true; + mimeApps.defaultApplications = { + "x-scheme-handler/http" = "io.gitlab.librewolf-community.desktop"; + "x-scheme-handler/https" = "io.gitlab.librewolf-community.desktop"; + }; + }; +} \ No newline at end of file