|
|
|
@ -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";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|