oliverdavies.uk/flake.nix

18 lines
479 B
Nix
Raw Normal View History

2023-03-21 21:01:43 +00:00
{
inputs.devshell.url = "github:numtide/devshell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2023-03-21 21:01:43 +00:00
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
systems = [ "x86_64-linux" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
devshells.default = {
packages = with pkgs; [ just nodejs-19_x yarn ];
2023-03-21 21:01:43 +00:00
};
};
};
2023-03-21 21:01:43 +00:00
}