chore: Move nix files out of root directory (#5861)

This commit is contained in:
Fijxu
2026-08-02 00:06:13 -04:00
committed by GitHub
parent 40378a2dc0
commit 1a0fd8287d
5 changed files with 1 additions and 1 deletions

27
nix/flake.nix Normal file
View File

@@ -0,0 +1,27 @@
{
description = "Invidious Nix Flake";
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 = nixpkgs.legacyPackages.${system};
devPackages = import ./packages.nix { inherit pkgs; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = devPackages;
};
}
);
}