n-daisuke897-blog/flake.nix
Daisuke 26faa2271e feat(nix): add devShell with fj and Node.js
- Add a Nix flake devShell providing Forgejo CLI (fj) and Node.js
- Document nix develop usage in README
- Ignore common Nix artifacts in .gitignore
2026-01-31 21:17:01 +09:00

23 lines
552 B
Nix

{
description = "Naputo blog devshell";
inputs = {
# Use stable nixpkgs for a more predictable toolchain.
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
forgejo-cli
nodejs
];
};
});
}