ctrlz.es/flake.nix

28 lines
606 B
Nix
Raw Normal View History

2024-01-04 22:18:21 +01:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
formatter.${system} = pkgs.alejandra;
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [hugo];
shellHook = ''
echo '
'
'';
};
};
}