persistent directory for luks keys

feat/kile-v2
Ricard Illa 2023-02-17 12:32:01 +01:00
parent 2e5ee1f868
commit 469a9ea193
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 3 additions and 3 deletions

View File

@ -217,8 +217,8 @@
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = { settings = {
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
}; };
hostKeys = [{ hostKeys = [{
@ -300,7 +300,7 @@
"/etc/ssh/user_ca.pub" "/etc/ssh/user_ca.pub"
]; ];
}; };
"/mnt/data" = { directories = [ "/etc/luks-keys" ]; };
"/mnt/logs" = { directories = [ "/var/log" ]; }; "/mnt/logs" = { directories = [ "/var/log" ]; };
}; };