diff --git a/home/config/default.nix b/home/config/default.nix index 81304d72..e7c76272 100644 --- a/home/config/default.nix +++ b/home/config/default.nix @@ -54,7 +54,6 @@ in ".parallel/will-cite".text = ""; ".ssh/config".text = ssh.text; ".template".source = ./template; - ".mozilla/firefox/default/storage-sync-v2.sqlite".text = ""; # NOTE: Fix for Dark Reader not reloading policy values. # ".nixpkgs_master".source = inputs.nixpkgs; # ".nixpkgs_unstable".source = inputs.nixpkgs; # TODO: Add after migrating to stable. diff --git a/package/darkreader/default.nix b/package/darkreader/default.nix index 433c8c5c..a6f5a9df 100644 --- a/package/darkreader/default.nix +++ b/package/darkreader/default.nix @@ -10,20 +10,22 @@ buildNpmPackage rec { pname = "dark-reader"; src = fetchFromGitHub { - owner = "darkreader"; + # owner = "darkreader"; + owner = "voronind-com"; repo = "darkreader"; - rev = "v${version}"; - hash = "sha256-2AYIFVTTMns1u0jKk3XeFuYdC1MfG9aOCMjAfZtlXuI="; + # rev = "v${version}"; + rev = "ddd532cb92594d2f4a73480dae6e6c024657dfe2"; + hash = "sha256-mONoHe/Aphm6T5UcucxlzMLDaNnqIKd35uCAVoYlJ8s="; }; - npmDepsHash = "sha256-dSuCL8GZXiksqVQ+TypzOdAROn3q30ExaGCJu72GLyY="; + npmDepsHash = "sha256-e41PXGgoQkVSHQj6kElqXPhzc6irnr09ltBAPmcUjik="; - patches = [ - (fetchpatch { - url = "https://github.com/darkreader/darkreader/pull/12920.diff"; - hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic="; - }) - ]; + # patches = [ + # (fetchpatch { + # url = "https://github.com/darkreader/darkreader/pull/12920.diff"; + # hash = "sha256-3r54SliCgxihGXzZDRklB0vB3bk9rc1H31PojAYn2Ic="; + # }) + # ]; installPhase = '' mkdir -p $out