mirror test
This commit is contained in:
@@ -1,12 +1,27 @@
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
};
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = [ "firefox.desktop" ];
|
||||
"text/xml" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||
};
|
||||
let
|
||||
firefoxFlake = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
_firefoxNightly = firefoxFlake.firefox-nightly-bin;
|
||||
|
||||
_chrome = pkgs.google-chrome.override { commandLineArgs = [ "--force-dark-mode" ]; };
|
||||
in
|
||||
{
|
||||
home.packages = lib.mkMerge [
|
||||
(lib.mkIf (pkgs.hostPlatform.system == "x86_64-linux") (
|
||||
with pkgs;
|
||||
[
|
||||
# browsers
|
||||
_firefoxNightly
|
||||
pkgs.firefox-bin
|
||||
_chrome
|
||||
]
|
||||
))
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user