diff options
| author | seth <[email protected]> | 2024-05-22 22:00:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-05-22 20:45:24 -0600 |
| commit | 8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch) | |
| tree | 2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /shell.nix | |
| parent | 329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff) | |
move to zola
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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 ]; } |
