Skip to content

Commit

Permalink
fix: envrc adjust post std bump; match metal decln to actual deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Oct 27, 2022
1 parent bb1ee3e commit 2f2ac64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#! /bin/sh

# power users can choose a different devshell target
[[ -f .envrc.local ]] && source_env .envrc.local
[ -f .envrc.local ] && source_env .envrc.local
DEVSHELL_TARGET=${DEVSHELL_TARGET:-dev}

source_url \
"https://raw.githubusercontent.com/divnix/std/main/direnv_lib.sh" \
"sha256-gnjtiJpKbz4L4udoK12AvBwL1lo5RqPR9mbLu1zuajw="
use std cells //automation/devshells:${DEVSHELL_TARGET}

# shellcheck disable=SC1090
. "$(nix eval --raw .#__std.direnv_lib)"
use std nix "//automation/devshells:${DEVSHELL_TARGET}"
6 changes: 3 additions & 3 deletions nix/metal/bitteProfile.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ in {
defaultModules = [(bitte + "/profiles/client.nix")];

eachRegion = attrs: [
(attrs // {region = "eu-central-1";})
(attrs // {region = "eu-west-1";})
(attrs // {region = "us-east-2";})
# (attrs // {region = "eu-central-1";})
# (attrs // {region = "eu-west-1";})
# (attrs // {region = "us-east-2";})
];
in
lib.listToAttrs
Expand Down

0 comments on commit 2f2ac64

Please sign in to comment.