Autohide toolbox
This commit is contained in:
parent
1ede9159e6
commit
cc6d2c3f23
1 changed files with 9 additions and 1 deletions
10
firefox.nix
10
firefox.nix
|
@ -1,8 +1,14 @@
|
|||
{ user, ... }:
|
||||
{ pkgs, user, ... }:
|
||||
|
||||
let
|
||||
startpageDir = import ./startpage/dir.nix;
|
||||
startpage = "file:///home/${user}/${startpageDir}/index.html";
|
||||
firefox-csshacks = pkgs.fetchFromGitHub {
|
||||
owner = "MrOtherGuy";
|
||||
repo = "firefox-csshacks";
|
||||
rev = "76867a5f570319d1bfd8cd396c92c876450328da";
|
||||
sha256 = "pGDnT1aRsu/06dlYtsHLkaNakfvXmQQ/SAplClyS/2c=";
|
||||
};
|
||||
in
|
||||
{
|
||||
nixpkgs = {
|
||||
|
@ -42,7 +48,9 @@ in
|
|||
isDefault = true;
|
||||
settings = {
|
||||
"browser.startup.homepage" = "${startpage}";
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
};
|
||||
userChrome = builtins.readFile "${firefox-csshacks}/chrome/autohide_toolbox.css";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue