configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Markus Schmidl 762f617a86 updated secrets преди 3 години
ansible start ansible project преди 3 години
hosts Merge branch 'master' of ssh://gitea.c3d2.de:2222/C3D2/nix-config преди 3 години
lib automatically create authorized_keys преди 3 години
secrets@799d3ed55a updated secrets преди 3 години
.gitmodules refactor into lib/lxc-container,shared for grafana преди 3 години
README.md added reencryption command преди 3 години
hq.nixops added mpd-index to nixops преди 3 години
install-host.sh pulsebert: add home-manager home.nix преди 3 години
nix-maintenance.sh add nix-maintenance.sh преди 3 години

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 {}