Added deployment key to root account
This commit is contained in:
1 parent
f1dcb8c72b
commit
1bc34518e1
3 files changed
+10
-8
No files matched your search
@@ -22,6 +22,15 @@ in
|
||||
impermanence.directories = [
|
||||
"/var/lib/nixos"
|
||||
];
|
||||
|
||||
secrets = {
|
||||
enable = true;
|
||||
secrets = {
|
||||
"ssh-keys/deploy-priv" = {
|
||||
path = "/root/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Localization
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user