27 lines
564 B
Nix
27 lines
564 B
Nix
|
{
|
||
|
description = "walkah's blog";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
||
|
flake-utils.url = "github:numtide/flake-utils";
|
||
|
flake-compat = {
|
||
|
url = "github:edolstra/flake-compat";
|
||
|
flake = false;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = { nixpkgs, flake-utils, ... }:
|
||
|
flake-utils.lib.eachDefaultSystem (system:
|
||
|
let
|
||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||
|
in
|
||
|
{
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
name = "blog";
|
||
|
buildInputs = with pkgs; [ nodejs ];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
|
||
|
}
|