fix: Restore backup SSH keys and enable backup user on hosts

This commit is contained in:
Tibo De Peuter 2026-08-30 18:16:34 +02:00
parent 58f2ea9b74
commit 9a4d3e6b30
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
3 changed files with 19 additions and 12 deletions

View file

@ -6,12 +6,16 @@
apps.gitea.enable = true; apps.gitea.enable = true;
virtualisation.guest.enable = true; virtualisation.guest.enable = true;
users.admin = { users = {
admin = {
enable = true; enable = true;
authorizedKeys = [ authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFrp6aM62Bf7bj1YM5AlAWuNrANU3N5e8+LtbbpmZPKS" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFrp6aM62Bf7bj1YM5AlAWuNrANU3N5e8+LtbbpmZPKS"
]; ];
}; };
backup.enable = true;
};
}; };
networking = { networking = {

View file

@ -10,12 +10,16 @@
}; };
virtualisation.guest.enable = true; virtualisation.guest.enable = true;
users.admin = { users = {
admin = {
enable = true; enable = true;
authorizedKeys = [ authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJnihoyozOCnm6T9OzL2xoMeMZckBYR2w43us68ABA93" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJnihoyozOCnm6T9OzL2xoMeMZckBYR2w43us68ABA93"
]; ];
}; };
backup.enable = true;
};
}; };
networking = { networking = {

View file

@ -13,8 +13,7 @@ in {
"docker" # Allow access to the docker socket. "docker" # Allow access to the docker socket.
]; ];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
# Hugo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB3s+m+u3GdPP0CCNQKYJxROATuSa9QeeQ8Ij4Iw1EoR root@Hugo"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICms6vjhE9kOlqV5GBPGInwUHAfCSVHLI2Gtzee0VXPh"
]; ];
}; };
}; };