mirror of
https://github.com/SebastianStork/blog.git
synced 2026-01-21 14:01:35 +01:00
Add devshell
This commit is contained in:
parent
bf232fc225
commit
3c7fe71bd3
4 changed files with 53 additions and 0 deletions
19
flake.nix
Normal file
19
flake.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue