Add devshell

This commit is contained in:
SebastianStork 2025-10-19 22:26:58 +02:00
parent bf232fc225
commit 3c7fe71bd3
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
4 changed files with 53 additions and 0 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
packages = [ pkgs.zola ];
};
formatter.${system} = pkgs.nixfmt-tree;
};
}