diff options
| author | Seth Flynn <[email protected]> | 2025-01-30 08:45:31 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-01-30 08:58:26 -0500 |
| commit | 5abb159e0cb609adc86a3238c84656a83031fe9b (patch) | |
| tree | f949381db3067d015bf356061141a0be0f273ad0 | |
| parent | 6abd00bd920fe261a6ce4940729eb703101431af (diff) | |
seth/firefox: use policies for addons
• Updated input 'arkenfox/flake-utils':
follows 'firefox-addons/flake-utils'
→ 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Added input 'arkenfox/flake-utils/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Removed input 'firefox-addons'
• Removed input 'firefox-addons/flake-utils'
• Removed input 'firefox-addons/nixpkgs'
• Updated input 'getchpkgs':
'github:getchoo/nix-exprs/baa8923dc7ecf5777be406ee4ce1de60e826d6e3?narHash=sha256-9SFHBauH0bi9lX5DlienIOPfmYpwyWaPRP91rzKoP3U%3D' (2025-01-25)
→ 'github:getchoo/nix-exprs/83a7516b7f38b20265709e77daf387b62b488a88?narHash=sha256-Whby1065h8T3VGaaK4r5WEt0uow7ilOV9NHQewVGQnI%3D' (2025-01-30)
| -rw-r--r-- | flake.lock | 59 | ||||
| -rw-r--r-- | flake.nix | 8 | ||||
| -rw-r--r-- | users/seth/programs/firefox/default.nix | 23 |
3 files changed, 40 insertions, 50 deletions
@@ -26,10 +26,7 @@ "arkenfox": { "inputs": { "flake-compat": [], - "flake-utils": [ - "firefox-addons", - "flake-utils" - ], + "flake-utils": "flake-utils", "nixpkgs": [ "nixpkgs" ], @@ -147,29 +144,6 @@ "url": "https://install.determinate.systems/determinate-nixd/tag/v0.3.0/x86_64-linux" } }, - "firefox-addons": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "dir": "pkgs/firefox-addons", - "lastModified": 1729491205, - "narHash": "sha256-luvUK8ZTRTdsVao7VqnxvGEvA3rjEmfiwakDyHxQhx8=", - "owner": "~rycee", - "repo": "nur-expressions", - "rev": "9764579885c84ba5d4bcd9d3061409a527ff805c", - "type": "sourcehut" - }, - "original": { - "dir": "pkgs/firefox-addons", - "owner": "~rycee", - "repo": "nur-expressions", - "type": "sourcehut" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -191,12 +165,15 @@ } }, "flake-utils": { + "inputs": { + "systems": "systems_2" + }, "locked": { - "lastModified": 1629284811, - "narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "c5d161cc0af116a2e17f54316f0bf43f0819785c", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -212,11 +189,11 @@ ] }, "locked": { - "lastModified": 1737773962, - "narHash": "sha256-9SFHBauH0bi9lX5DlienIOPfmYpwyWaPRP91rzKoP3U=", + "lastModified": 1738244694, + "narHash": "sha256-Whby1065h8T3VGaaK4r5WEt0uow7ilOV9NHQewVGQnI=", "owner": "getchoo", "repo": "nix-exprs", - "rev": "baa8923dc7ecf5777be406ee4ce1de60e826d6e3", + "rev": "83a7516b7f38b20265709e77daf387b62b488a88", "type": "github" }, "original": { @@ -499,7 +476,6 @@ "arkenfox": "arkenfox", "catppuccin": "catppuccin", "determinate": "determinate", - "firefox-addons": "firefox-addons", "flake-parts": "flake-parts", "getchpkgs": "getchpkgs", "getchvim": "getchvim", @@ -554,6 +530,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "teawiebot": { "inputs": { "nixpkgs": [ @@ -67,7 +67,6 @@ nixpkgs.follows = "nixpkgs"; flake-compat.follows = ""; pre-commit.follows = ""; - flake-utils.follows = "firefox-addons/flake-utils"; }; }; @@ -86,13 +85,6 @@ }; }; - firefox-addons = { - url = "sourcehut:~rycee/nur-expressions?dir=pkgs/firefox-addons"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; - getchpkgs = { url = "github:getchoo/nix-exprs"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/users/seth/programs/firefox/default.nix b/users/seth/programs/firefox/default.nix index b378bc2..0fbd840 100644 --- a/users/seth/programs/firefox/default.nix +++ b/users/seth/programs/firefox/default.nix @@ -1,7 +1,7 @@ { config, lib, - inputs', + inputs, ... }: let @@ -15,7 +15,10 @@ in }; }; - imports = [ ./arkenfox.nix ]; + imports = [ + inputs.getchpkgs.nixosModules.firefox-addons + ./arkenfox.nix + ]; config = lib.mkIf cfg.enable { home.sessionVariables = { @@ -24,13 +27,17 @@ in programs.firefox = { enable = true; - profiles.arkenfox = { - extensions = with inputs'.firefox-addons.packages; [ - bitwarden - floccus - ublock-origin - ]; + addons = [ + # uBlock Origin + # Bitwarden + "{446900e4-71c2-419f-a6a7-df9c091e268b}" + # Floccus + ]; + + profiles.arkenfox = { isDefault = true; settings = { |
