From 79304f83c60ee8ce18389375c6e0fb75be2290f1 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Thu, 17 Jul 2025 23:40:26 +0200 Subject: [PATCH] add garage to devshell --- devShells/flake-module.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devShells/flake-module.nix b/devShells/flake-module.nix index 10ee6cb..69acae0 100644 --- a/devShells/flake-module.nix +++ b/devShells/flake-module.nix @@ -10,6 +10,7 @@ packages = [ inputs'.agenix.packages.default inputs'.clan-core.packages.clan-cli + pkgs.garage pkgs.nil # Nix language server pkgs.nixfmt-rfc-style pkgs.opentofu @@ -17,8 +18,9 @@ pkgs.deploy-rs pkgs.zsh ]; - shellhook = '' - exec zsh + shellHook = '' + export GARAGE_RPC_SECRET=$(clan vars get crocus garage-shared/rpc_secret) + export GARAGE_RPC_HOST=5d8249fe49264d36bc3532bd88400498bf9497b5cd4872245eb820d5d7797ed6@crocus.home.rpqt.fr:3901 ''; }; };