summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/ansible/flake.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/ansible/flake.nix b/templates/ansible/flake.nix
index b2fa49b..0e722a0 100644
--- a/templates/ansible/flake.nix
+++ b/templates/ansible/flake.nix
@@ -30,8 +30,10 @@
poetry
];
shellHook = ''
- source ~/awx-login.sh
- [[ -f ./.venv/bin/activate ]] && source ./.venv/bin/activate
+ [[ -f ./.venv/bin/activate ]] && {
+ source ./.venv/bin/activate
+ source ~/awx-login.sh
+ }
'';
};
});