-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
27 lines (26 loc) · 836 Bytes
/
Copy pathflake.nix
File metadata and controls
27 lines (26 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
# Flake inputs
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?ref=e9188e0072f22982a93bbdb2c69975b18a3c5cdb";
flake-utils.url = "github:numtide/flake-utils?ref=11707dc2f618dd54ca8739b309ec4fc024de578b";
};
# Flake outputs
# Development environment output
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
zola # SSG
twig-language-server # LSP for templates
ludtwig # Formatter for templates
];
};
}
);
}