Compare commits
4 commits
aac9de0ae0
...
90026d2734
Author | SHA1 | Date | |
---|---|---|---|
90026d2734 | |||
4f79f48b99 | |||
54c4cf23ff | |||
1d3201d8e5 |
2 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,10 @@ with lib;
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
users.users.root.openssh.authorizedKeys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBS65v7n5ozOUjYGuO/dgLC9C5MUGL5kTnQnvWAYP5B3 ci@git.qo.is"
|
||||||
|
]; # TODO: Move this key to allow CI deployment for all machines.
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
|
||||||
system.autoUpgrade.allowReboot = true;
|
system.autoUpgrade.allowReboot = true;
|
||||||
|
|
|
@ -60,6 +60,6 @@ retry() {
|
||||||
for HOST in $HOSTS; do
|
for HOST in $HOSTS; do
|
||||||
retry 3 deploy \
|
retry 3 deploy \
|
||||||
--skip-checks \
|
--skip-checks \
|
||||||
--ssh-opts "-o UserKnownHostsFile=${KNOWN_HOSTS_FILE} ${SSH_KEY_FILE_ARG:-''}" \
|
--ssh-opts "-o UserKnownHostsFile=${KNOWN_HOSTS_FILE} ${SSH_KEY_FILE_ARG:-}" \
|
||||||
--targets "${FLAKE_ROOT}#\"${HOST}\".\"${PROFILE}\""
|
--targets "${FLAKE_ROOT}#\"${HOST}\".\"${PROFILE}\""
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue