sitegen/flake.nix

30 lines
668 B
Nix
Raw Normal View History

2025-07-07 09:42:04 -07:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, utils, ... }:
utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = [
pkgs.nodejs_24 # runtime
pkgs.deno # formatter
(pkgs.ffmpeg.override {
2025-07-07 20:58:02 -07:00
withOpus = true;
2025-07-07 09:42:04 -07:00
withSvtav1 = true;
2025-07-07 20:58:02 -07:00
withJxl = true;
withWebp = true;
2025-07-07 09:42:04 -07:00
})
2025-07-08 20:48:30 -07:00
pkgs.rsync
2025-07-07 09:42:04 -07:00
];
};
}
);
}