From 1a6d506a525e32bc374f89377e46a775c6737cf0 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 1 Jul 2024 11:14:24 +0200 Subject: Got basic development environment set up --- default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index a9c5911..7100b90 100644 --- a/default.nix +++ b/default.nix @@ -10,8 +10,16 @@ in { shell = pkgs.mkShell { name = "project-shell"; buildInputs = [ - #pkgs.go - #pkgs.golangci-lint + pkgs.go + pkgs.golangci-lint + pkgs.xcaddy + pkgs.caddy ]; + shellHook = '' + mkdir -p .dev-home + echo '*' > .dev-home/.gitignore + export XDG_CONFIG_HOME=$(pwd)/.dev-home/config + export XDG_DATA_HOME=$(pwd)/.dev-home/data + ''; }; } -- cgit v1.2.3