stylix: enable firefox target
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m0s

This commit is contained in:
2025-05-15 21:33:49 +01:00
parent 65b32f64e0
commit 3a03a578c8
3 changed files with 81 additions and 55 deletions

View File

@ -1,10 +1,13 @@
{
inputs,
...
}:
{
home.file.".mozilla/firefox/Default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
stylix.targets.firefox = {
enable = true;
firefoxGnomeTheme.enable = true;
profileNames = [ "Default" ];
};
programs.firefox = {
enable = true;
@ -14,12 +17,6 @@
privateDefault = "DuckDuckGo";
force = true;
};
userChrome = ''
@import "firefox-gnome-theme/userChrome.css";
'';
userContent = ''
@import "firefox-gnome-theme/userContent.css";
'';
settings = {
## GNOME theme
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Enable customChrome.css