Add browser-sync

This commit is contained in:
Oliver Davies 2025-08-15 03:11:02 +01:00
parent 5e1c3660ca
commit d55ccddaff
3 changed files with 112 additions and 0 deletions

29
book/flake.nix Normal file
View file

@ -0,0 +1,29 @@
{
inputs = {
devshell.inputs.nixpkgs.follows = "nixpkgs";
devshell.url = "github:numtide/devshell";
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.devshell.flakeModule ];
perSystem =
{ pkgs, ... }:
{
devshells.default = {
packages = with pkgs.nodePackages; [
browser-sync
];
};
};
systems = [ "x86_64-linux" ];
};
}