Added deployment key to root account

This commit is contained in:
Jan-Bulthuis committed 2025-05-30 15:11:22 +02:00
1 parent f1dcb8c72b
commit 1bc34518e1
3 files changed
+10 -8

No files matched your search

+9
View File
@@ -22,6 +22,15 @@ in
impermanence.directories = [
"/var/lib/nixos"
];
secrets = {
enable = true;
secrets = {
"ssh-keys/deploy-priv" = {
path = "/root/.ssh/id_ed25519";
};
};
};
};
# Localization
-7
View File
@@ -29,13 +29,6 @@ in
zfs rollback -r tank/root@blank
'';
};
secrets = {
enable = true;
secrets = {
"ssh-keys/deploy/private-key" = { };
"ssh-keys/deploy/public-key" = { };
};
};
ssh.enable = true;
};