summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-22 22:00:02 -0400
committerseth <[email protected]>2024-05-22 20:45:24 -0600
commit8fd8b7e53d59a034706dd7eaad6b608721ce3cdb (patch)
tree2ce7e4a8b7eafc9d8550a54aa6d4f34d678d76f5 /shell.nix
parent329bf8a3384474cfe45ecae142dfb7d97b699aa2 (diff)
move to zola
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix16
1 files changed, 9 insertions, 7 deletions
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
];
}