Committed after home build
diff --git a/system/configuration.nix b/system/configuration.nix
index e9bbe87..fa15056 100644
--- a/system/configuration.nix
+++ b/system/configuration.nix
@@ -313,6 +313,17 @@
})
];
+ xdg.mime.defaultApplications = {
+ "text/html" = "chromium-browser.desktop";
+ "x-scheme-handler/http" = "chromium-browser.desktop";
+ "x-scheme-handler/https" = "chromium-browser.desktop";
+ "x-scheme-handler/about" = "chromium-browser.desktop";
+ "x-scheme-handler/unknown" = "chromium-browser.desktop";
+ };
+
+ environment.sessionsVariables.DEFAULT_BROWSER = "${pkgs.chromium}/bin/chromium";
+
+
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
diff --git a/users/minion/home.nix b/users/minion/home.nix
index 2c2bf1d..c546038 100644
--- a/users/minion/home.nix
+++ b/users/minion/home.nix
@@ -120,14 +120,6 @@
};
};
- xdg.mime.defaultApplications = {
- "text/html" = "chromium-browser.desktop";
- "x-scheme-handler/http" = "chromium-browser.desktop";
- "x-scheme-handler/https" = "chromium-browser.desktop";
- "x-scheme-handler/about" = "chromium-browser.desktop";
- "x-scheme-handler/unknown" = "chromium-browser.desktop";
- };
-
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards