temporarily backport in #269817
This commit is contained in:
parent
434e8233b2
commit
b086c8d705
|
@ -2,17 +2,17 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700612854,
|
"lastModified": 1700897425,
|
||||||
"narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=",
|
"narHash": "sha256-rUd7z6weQ0zJ7mJP9N7RLMP/AWE9H/AtTV9bx7RNr6A=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614",
|
"rev": "491072e797f6d28960f182d45125f1f93b9522ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
|
"rev": "491072e797f6d28960f182d45125f1f93b9522ce",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
description = "Overlay for a policy-configurable non-ESR Firefox";
|
description = "Overlay for a policy-configurable non-ESR Firefox";
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/491072e797f6d28960f182d45125f1f93b9522ce";
|
||||||
|
# inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: let
|
outputs = { self, nixpkgs }: let
|
||||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||||
|
@ -12,10 +13,11 @@
|
||||||
firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override {
|
firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override {
|
||||||
geolocationSupport = false;
|
geolocationSupport = false;
|
||||||
googleAPISupport = false;
|
googleAPISupport = false;
|
||||||
}).overrideAttrs (oldAttrs: rec {
|
drmSupport = false;
|
||||||
# Allow unsigned extensions in non-ESR firefox
|
|
||||||
MOZ_REQUIRE_SIGNING = false;
|
|
||||||
|
|
||||||
|
requireSigning = false;
|
||||||
|
allowAddonSideload = true;
|
||||||
|
}).overrideAttrs (oldAttrs: rec {
|
||||||
patches = oldAttrs.patches ++ [
|
patches = oldAttrs.patches ++ [
|
||||||
# I want to preconfigure the search engine settings to make
|
# I want to preconfigure the search engine settings to make
|
||||||
# DuckDuckGo the default search engine and remove most of the
|
# DuckDuckGo the default search engine and remove most of the
|
||||||
|
|
Loading…
Reference in a new issue