Make the management scripts easier to use
This commit is contained in:
parent
529738831c
commit
bb80ff5a7b
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
cd /home/andreas/.nixos
|
||||
|
||||
hosts=($(echo $(nix eval .#nixosConfigurations --apply 'pkgs: builtins.concatStringsSep " " (builtins.attrNames pkgs)') | xargs))
|
||||
skip=(
|
||||
"desktop-vm"
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cd /home/andreas/.nixos
|
||||
|
||||
rsa_key="~/.nixos/secrets/ssh_keys/ansible/ansible.key"
|
||||
export NIX_SSHOPTS="-t -i $rsa_key"
|
||||
|
Loading…
Reference in New Issue