feat(firefox): Move csshacks to subflake

This commit is contained in:
uttarayan21
2024-04-04 21:59:37 +05:30
parent 89e53f3bd8
commit 451f5821e6
3 changed files with 26 additions and 42 deletions

View File

@@ -6,22 +6,14 @@
programs.firefox = {
enable = device.hasGui;
profiles.default = {
userChrome = let
# TODO: Move to subflake
csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";
repo = "firefox-csshacks";
rev = "master";
sha256 = "sha256-XJ+MTEADzOsCIh0I8EAxbtIpDHfMJsN68sKBy7/1l60=";
};
in
userChrome =
/*
css
*/
''
/* @import url(${csshacks}/chrome/toolbars_below_content.css); */
/* @import url(${csshacks}/chrome/scrollable_menupopups.css); */
/* @import url(${csshacks}/chrome/linux_gtk_window_control_patch.css); */
/* @import url(${pkgs.csshacks}/chrome/toolbars_below_content.css); */
/* @import url(${pkgs.csshacks}/chrome/scrollable_menupopups.css); */
/* @import url(${pkgs.csshacks}/chrome/linux_gtk_window_control_patch.css); */
'';
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
privacy-badger