diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore index 7b9ca83..e820acc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .hugo_build.lock public voidcruiser.nl +.direnv diff --git a/flake.nix b/flake.nix index fe29404..df41ed1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "Website flake"; inputs = { - nixpkgs.url = github:NixOs/nixpkgs/nixos-23.05; - flake-utils.url = github:numtide/flake-utils; + nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.05"; + flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: @@ -26,11 +26,7 @@ cp -r public $out/share/${pname} ''; - }; }; - devShell = pkgs.mkShell { - buildInputs = [ pkgs.hugo ]; - }; }); }