29 lines
668 B
Nix
29 lines
668 B
Nix
{
|
|
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 {
|
|
withOpus = true;
|
|
withSvtav1 = true;
|
|
withJxl = true;
|
|
withWebp = true;
|
|
})
|
|
pkgs.rsync
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|