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.
ehmry 3d149702ed Move generic MPD satellite config to /mpd.nix 6 months ago
ansible start ansible project 9 months ago
hosts Move generic MPD satellite config to /mpd.nix 6 months ago
lib automatically create authorized_keys 9 months ago
secrets @ a481a5feb5 updated secrects 8 months ago
.gitmodules refactor into lib/lxc-container,shared for grafana 9 months ago
README.md README: added --check option 7 months ago
common.nix Add storage-ng 6 months ago
hq.nixops contains/public-access-proxy: add to nixops and fixed proxy warnings 8 months ago
install-host.sh pulsebert: add home-manager home.nix 11 months ago
mpd.nix Move generic MPD satellite config to /mpd.nix 6 months ago
nix-maintenance.sh add nix-maintenance.sh 11 months ago
users.nix Add storage-ng 6 months ago

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 --check --include=dhcp

Secrets

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.