Remove nixops examples and documentation

This commit is contained in:
Jonas Nick 2021-03-08 15:11:13 +01:00
parent b07185915a
commit a4dabc7390
No known key found for this signature in database
GPG key ID: 4861DBF262123605
12 changed files with 82 additions and 482 deletions

View file

@ -57,12 +57,5 @@ in {
users.users.${operatorName} = {
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
};
# Enable nixops ssh for operator (`nixops ssh operator@mynode`) on nixops-vbox deployments
systemd.services.get-vbox-nixops-client-key =
mkIf (builtins.elem ".vbox-nixops-client-key" config.services.openssh.authorizedKeysFiles) {
postStart = ''
cp "${config.users.users.root.home}/.vbox-nixops-client-key" "${config.users.users.${operatorName}.home}"
'';
};
};
}