From 1a683d2a920cf3e03184b08e997e6e4c87a995f2 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Mon, 30 Oct 2023 09:01:56 +0100 Subject: [PATCH] shell: add openstack resources --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/shell.nix b/shell.nix index 6158abe..6133b0c 100644 --- a/shell.nix +++ b/shell.nix @@ -3,5 +3,17 @@ pkgs.mkShell { nativeBuildInputs = with pkgs; [ sops gnupg + openstackclient ]; + + shellHook = '' + export OS_AUTH_URL=https://api.stack.it.ntnu.no:5000 + export OS_PROJECT_ID=b78432a088954cdc850976db13cfd61c + export OS_PROJECT_NAME="STUDORG_Programvareverkstedet" + export OS_USER_DOMAIN_NAME="NTNU" + export OS_PROJECT_DOMAIN_ID="d3f99bcdaf974685ad0c74c2e5d259db" + export OS_REGION_NAME="NTNU-IT" + export OS_INTERFACE=public + export OS_IDENTITY_API_VERSION=3 + ''; }