diff --git a/users/youwen/linux/packages/x86_64/default.nix b/users/youwen/linux/packages/x86_64/default.nix index 39b0b8e..d0cc5a4 100644 --- a/users/youwen/linux/packages/x86_64/default.nix +++ b/users/youwen/linux/packages/x86_64/default.nix @@ -23,17 +23,6 @@ in ++ [ zen-browser ] ); - xdg.mimeApps = { - enable = true; - defaultApplications = { - "text/html" = [ "zen.desktop" ]; - "x-scheme-handler/http" = [ "zen.desktop" ]; - "x-scheme-handler/https" = [ "zen.desktop" ]; - "x-scheme-handler/about" = [ "zen.desktop" ]; - "x-scheme-handler/unknown" = [ "zen.desktop" ]; - }; - }; - home.sessionVariables = { DEFAULT_BROWSER = "${zen-browser}/bin/zen"; }; diff --git a/users/youwen/linux/programs/default.nix b/users/youwen/linux/programs/default.nix index 13764c8..173721b 100644 --- a/users/youwen/linux/programs/default.nix +++ b/users/youwen/linux/programs/default.nix @@ -33,6 +33,17 @@ }; }; + xdg.mimeApps = { + enable = true; + defaultApplications = { + "text/html" = [ "zen.desktop" ]; + "x-scheme-handler/http" = [ "zen.desktop" ]; + "x-scheme-handler/https" = [ "zen.desktop" ]; + "x-scheme-handler/about" = [ "zen.desktop" ]; + "x-scheme-handler/unknown" = [ "zen.desktop" ]; + }; + }; + # programs.firefox = { # enable = true; # # package = pkgs.librewolf;