configurations of hq services
https://hydra.hq.c3d2.de/jobset/c3d2/nix-config#tabs-jobs
|
||
---|---|---|
ansible | ||
hosts | ||
lib | ||
secrets@799d3ed55a | ||
.gitmodules | ||
README.md | ||
hq.nixops | ||
install-host.sh | ||
nix-maintenance.sh |
README.md
Deployment
Beide failen bei Activation des neuen Profils. (TODO)
Mit nixos-switch rebuild
nixos-rebuild switch -I nixos-config=./hosts/containers/$HOST/configuration.nix --target-host "root@$HOST.hq.c3d2.de"
Mit NixOps
nixops create hq.nixops -d hq
nixops deploy -d hq --debug --include=dhcp --force-reboot
nixops deploy -d hq --include=grafana -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz --force-reboot
Secrets
Add your gpg-id to the .gpg-id file in secrets and let somebody reencrypt it for you:
PASSWORD_STORE_DIR=`pwd` tr '\n' ' ' < .gpg-id | xargs -I{} pass init {}