|
1 year ago | |
---|---|---|
ansible | 1 year ago | |
hosts | 1 year ago | |
lib | 1 year ago | |
secrets @ a481a5feb5 | 1 year ago | |
.gitmodules | 1 year ago | |
README.md | 1 year ago | |
common.nix | 1 year ago | |
hq.nixops | 1 year ago | |
install-host.sh | 2 years ago | |
mpd.nix | 1 year ago | |
nix-maintenance.sh | 2 years ago | |
users.nix | 1 year ago |
Beide failen bei Activation des neuen Profils. (TODO)
nixos-switch rebuild
nixos-rebuild switch -I nixos-config=./hosts/containers/$HOST/configuration.nix --target-host "root@$HOST.hq.c3d2.de"
nixops create hq.nixops -d hq
nixops deploy -d hq --check --include=dhcp
Add your gpg-id to the .gpg-id file in secrets and let somebody reencrypt it for you.
Maybe this works for you, maybe not. I did it somehow:
PASSWORD_STORE_DIR=`pwd` tr '\n' ' ' < .gpg-id | xargs -I{} pass init {}
`
Your gpg key has to have the Authenticate flag set. If not update it and push it to a keyserver and wait. This is necessary, so you can login to any machine with your gpg key.