From 8fd8b7e53d59a034706dd7eaad6b608721ce3cdb Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 22 May 2024 22:00:02 -0400 Subject: move to zola --- shell.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index ecbb896..1ba11b5 100644 --- a/shell.nix +++ b/shell.nix @@ -4,7 +4,7 @@ let flakeSources = builtins.mapAttrs (_: node: fetchTree node.locked) lock.nodes; in { - nixpkgs ? + pkgs ? import sources.nixpkgs { inherit system; config = {}; @@ -12,14 +12,16 @@ in }, system ? builtins.currentSystem, sources ? flakeSources, - formatter ? nixpkgs.alejandra, + formatter ? pkgs.alejandra, }: - nixpkgs.mkShellNoCC { + pkgs.mkShellNoCC { packages = [ + pkgs.zola + + # linters + formatters formatter - nixpkgs.biome - nixpkgs.nodejs-slim - # use package manager from package.json - nixpkgs.corepack + pkgs.actionlint + pkgs.nodePackages.alex + pkgs.nodePackages.prettier ]; } -- cgit v1.2.3