enable firefox coloring

This commit is contained in:
Kopatz
2025-03-17 11:59:55 +01:00
parent e533c0c2dd
commit 236dc27b8f
2 changed files with 9 additions and 1 deletions

View File

@@ -66,4 +66,6 @@
# This is annoying, because I can have a blank workspace, open Firefox and
# then have Firefox open on some other workspace
"widget.disable-workspace-management" = true;
# Automatically enable extensions, don't manually confirm if it should be enabled
"extensions.autoDisableScopes" = 0;
}

View File

@@ -59,7 +59,12 @@ let
};
};
in {
stylix.targets.firefox.profileNames = [ "default" ];
stylix = lib.mkIf osConfig.custom.graphical.stylix.enable {
targets.firefox = {
profileNames = [ "default" ];
colorTheme.enable = true;
};
};
programs.firefox = {
enable = true;
policies = {
@@ -111,6 +116,7 @@ in {
visibility: collapse !important;
}
'';
extensions.force = true;
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
clearurls
darkreader