feat(template): +nodejs
This commit is contained in:
28
template/nodejs/flake.nix
Normal file
28
template/nodejs/flake.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
description = "";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
util = {
|
||||
url = "github:hectic-lab/util.nix";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, util }:
|
||||
let
|
||||
overlays = [ util.overlays.default ];
|
||||
in
|
||||
util.lib.forAllSystemsWithPkgs overlays ({ system, pkgs }:
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
in
|
||||
{
|
||||
### DEV SHELL ###
|
||||
devShells.${system} = {
|
||||
default = import ./devshell/default.nix { inherit pkgs; };
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user