musikspider/flake.nix

24 lines
717 B
Nix
Raw Normal View History

2023-04-12 07:16:36 +03:00
{
2023-04-12 07:17:37 +03:00
description = "Web application for musikcube servers";
2023-04-12 07:16:36 +03:00
inputs.parts.url = "github:hercules-ci/flake-parts";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.systems.url = "github:nix-systems/x86_64-linux";
inputs.naked-shell.url = "github:yusdacra/mk-naked-shell";
outputs = inp:
inp.parts.lib.mkFlake {inputs = inp;} {
systems = import inp.systems;
2023-04-12 11:09:04 +03:00
imports = [inp.naked-shell.flakeModule];
perSystem = {config, pkgs, ...}: {
devShells.default = config.mk-naked-shell.lib.mkNakedShell {
2023-04-12 07:16:36 +03:00
name = "musikspider-devshell";
2023-04-12 09:47:57 +03:00
packages = with pkgs; [
2023-04-21 22:35:25 +03:00
nodejs
nodePackages.pnpm
2023-04-12 09:47:57 +03:00
];
2023-04-12 07:16:36 +03:00
};
};
};
}