add nix flake

This commit is contained in:
XenGi 2023-10-17 23:10:58 +02:00
parent eea0bad6c8
commit 3119a22fc2
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
4 changed files with 250 additions and 212 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
description = "chaos music control";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bun
];
};
}
);
}