persist ssh host keys
This commit is contained in:
parent
334976edf9
commit
beee908e58
1 changed files with 7 additions and 1 deletions
|
|
@ -2,7 +2,13 @@
|
||||||
networking.hostName = "winter";
|
networking.hostName = "winter";
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
|
|
||||||
environment.etc."machine-id".source = "/mnt/bcachefs/machine-id";
|
environment.etc = {
|
||||||
|
"machine-id".source = "/mnt/bcachefs/machine-id";
|
||||||
|
"ssh/ssh_host_rsa_key".source = "/mnt/bcachefs/ssh_host_rsa_key";
|
||||||
|
"ssh/ssh_host_rsa_key.pub".source = "/mnt/bcachefs/ssh_host_rsa_key.pub";
|
||||||
|
"ssh/ssh_host_ed25519_key".source = "/mnt/bcachefs/ssh_host_ed25519_key";
|
||||||
|
"ssh/ssh_host_ed25519_key.pub".source = "/mnt/bcachefs/ssh_host_ed25519_key.pub";
|
||||||
|
};
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue