chore: move stylesheet to nixpkgs firefox module

This commit is contained in:
Nydragon 2024-11-24 15:10:01 +01:00
parent 9b7e3f77f0
commit 156ddc6feb
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
3 changed files with 4 additions and 13 deletions

View file

@ -24,17 +24,6 @@ lib.mkIf osConfig.programs.firefox.enable {
min-width: 17.5% !important;
}
'';
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
containers = {
uni = {
color = "blue";
icon = "briefcase";
};
};
containersForce = true;
search = {
default = "DuckDuckGo";
force = true;

View file

@ -18,8 +18,8 @@
Install.WantedBy = [ "graphical-session.target" ];
Unit = {
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
Wants = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
Service = {

View file

@ -66,6 +66,8 @@ lib.mkIf config.programs.firefox.enable {
"browser.download.useDownloadDir" = false; # always ask where to download
# Fingerprinting
"privacy.resistFingerprinting.block_mozAddonManager" = true;
# Allow styling through userChrome.css
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
policies = {
PasswordManagerEnabled = false;