diff options
Diffstat (limited to 'overlays')
| -rw-r--r-- | overlays/phoenix.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/overlays/phoenix.nix b/overlays/phoenix.nix new file mode 100644 index 0000000..ad9bab4 --- /dev/null +++ b/overlays/phoenix.nix @@ -0,0 +1,21 @@ +final: prev: let + phoenix-src = prev.fetchFromGitHub { + owner = "celenityy"; + repo = "Phoenix"; + rev = "07d9be8cbf938962f9847b0970274b885ff48792"; + hash = "sha256-I9pKhfhAz3JsGBLIqr9MNycTEQn0Bc3jzf0mKeWLlsE="; + }; +in { + phoenix = (final.callPackage (import "${phoenix-src}/nix/package.nix") + { + }).overrideAttrs { + patches = [ + ../patches/0001-autoDisableScopes-unlocked.patch + ]; + }; + withPhoenix = firefoxPackage: + firefoxPackage.override { + extraPoliciesFiles = ["${final.phoenix}/policies.json"]; + extraPrefsFiles = ["${final.phoenix}/phoenix.cfg"]; + }; +} |
