diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-30 01:01:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-31 05:20:12 +0530 |
| commit | 42a02dea80094145bea4f07c72e84a5868d63e69 (patch) | |
| tree | 4c307e7a03b55f3ed2441cb4e759d6373b907a66 /modules/web/chromium/extensions/lib.nix | |
| parent | 66e401fb6324c073a0770e0a4afe6d5cca830046 (diff) | |
| download | home-manager-config-42a02dea80094145bea4f07c72e84a5868d63e69.tar.gz home-manager-config-42a02dea80094145bea4f07c72e84a5868d63e69.zip | |
feat: replaced python scripts with lua
- using lua scripts where we previously used python for lower resource
consumption
Diffstat (limited to 'modules/web/chromium/extensions/lib.nix')
| -rw-r--r-- | modules/web/chromium/extensions/lib.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/web/chromium/extensions/lib.nix b/modules/web/chromium/extensions/lib.nix index 6123b63..11ec204 100644 --- a/modules/web/chromium/extensions/lib.nix +++ b/modules/web/chromium/extensions/lib.nix @@ -21,7 +21,7 @@ nativeBuildInputs = [ config.file-management.ouch.package - pkgs.python3 + (pkgs.luajit.withPackages (ps: [ ps.dkjson ])) ]; dontUnpack = true; @@ -61,7 +61,7 @@ ${lib.optionalString (extensionKey != null) '' if [ -f "$out/manifest.json" ]; then echo "Injecting extension key into manifest.json to lock the extension ID..." - python3 ${./inject_extension_key.py} "$out/manifest.json" "${extensionKey}" + luajit ${./inject_extension_key.lua} "$out/manifest.json" "${extensionKey}" else echo "Warning: No manifest.json found in $out to inject the key!" >&2 fi |
