first commit
This commit is contained in:
commit
46aea254d0
19 changed files with 569 additions and 0 deletions
32
flake.nix
Normal file
32
flake.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
description = "Figma Windows UA Spoofer - Firefox signing environment";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
bash
|
||||
zip
|
||||
web-ext
|
||||
nodejs
|
||||
];
|
||||
};
|
||||
|
||||
apps.sign-firefox = {
|
||||
type = "app";
|
||||
program = toString (pkgs.writeShellScript "sign-firefox" ''
|
||||
set -euo pipefail
|
||||
exec ${pkgs.bash}/bin/bash ./sign-firefox.sh
|
||||
'');
|
||||
};
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue