Skip to content

Commit fa8bf4c

Browse files
committed
feat: nix flake
1 parent b6094ea commit fa8bf4c

File tree

3 files changed

+90
-2
lines changed

3 files changed

+90
-2
lines changed

.env.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ PUB_VERTD_URL=https://vertd.vert.sh
1212

1313
# Set to true to disable all external requests (vertd, Stripe, Plausible, etc.)
1414
# Useful for privacy-focused deployments or air-gapped environments
15+
# Note: the ffmpeg worker is still downloaded via a CDN (cdn.jsdelivr.net)
1516
PUB_DISABLE_ALL_EXTERNAL_REQUESTS=false
1617

17-
# Donation settings - These support the project's development
18-
# Please keep these values to help maintain and improve VERT
18+
# Stripe donation settings
19+
# Please keep these values the same, they support VERT's development!
1920
PUB_DONATION_URL=https://donations.vert.sh
2021
PUB_STRIPE_KEY=pk_live_51RDVmAGSxPVad6bQwzVNnbc28nlmzA30krLWk1fefCMpUPiSRPkavMMbGqa8A3lUaOCMlsUEVy2CWDYg0ip3aPpL00ZJlsMkf2

flake.lock

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
description = "VERT.sh";
3+
4+
inputs = {
5+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = { self, nixpkgs, flake-utils }:
10+
flake-utils.lib.eachDefaultSystem (system:
11+
let
12+
pkgs = nixpkgs.legacyPackages.${system};
13+
in
14+
{
15+
devShells.default = pkgs.mkShell {
16+
buildInputs = with pkgs; [
17+
bun
18+
nodejs
19+
20+
# are these needed?
21+
nodePackages.prettier
22+
nodePackages.eslint
23+
];
24+
};
25+
});
26+
}

0 commit comments

Comments
 (0)