28 lines
606 B
Nix
28 lines
606 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; [hugo];
|
||
|
|
||
|
shellHook = ''
|
||
|
echo '
|
||
|
┏━╸╺┳╸┏━┓╻ ╺━┓ ┏━╸┏━┓
|
||
|
┃ ┃ ┣┳┛┃ ┏━┛ ┣╸ ┗━┓
|
||
|
┗━╸ ╹ ╹┗╸┗━╸┗━╸╹┗━╸┗━┛
|
||
|
'
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|