feat: add packer env wars for work

This commit is contained in:
Swarsel 2024-10-18 21:34:09 +02:00
parent 82e6ec9d64
commit 8c58ff78fe
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 77 additions and 0 deletions

View file

@ -12,6 +12,20 @@
programs = {
git.userEmail = "leon.schwarzaeugl@imba.oeaw.ac.at";
zsh = {
cdpath = [
"~/Documents/Work"
];
dirHashes = {
d = "$HOME/.dotfiles";
w = "$HOME/Documents/Work";
s = "$HOME/.dotfiles/secrets";
pr = "$HOME/Documents/Private";
ac = "$HOME/.ansible/collections/ansible_collections/vbc/linux/roles";
};
};
ssh = {
matchBlocks = {
"uc" = {

View file

@ -28,6 +28,8 @@
export DCAD="$(cat ${config.sops.secrets.dcad.path})"
export WSAD="$(cat ${config.sops.secrets.wsad.path})"
export IMBAD="$(cat ${config.sops.secrets.imbad.path})"
export DCUSER="dc_adm_schwarzaeugl@IMP.UNIVIE.AC.AT"
export PACKER_SSH_EXTRA_ARGS='"--scp-extra-args"',"\"'-O'\""
'';
browserpass.enable = true;