ctrlz.es/flake.nix
2024-01-05 13:01:07 +01:00

31 lines
649 B
Nix

{
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; [
gnumake
go
hugo
];
shellHook = ''
echo '
'
'';
};
};
}