treewide: persist rework
This commit is contained in:
parent
2c733de3b3
commit
4b1483327b
6 changed files with 12 additions and 11 deletions
|
|
@ -1,10 +1,10 @@
|
|||
{ config, enableGUI, inputs, modules, overlays, ... }: {
|
||||
environment.etc = {
|
||||
"machine-id".source = "/var/persist/machine-id";
|
||||
"ssh/ssh_host_rsa_key".source = "/var/persist/ssh_host_rsa_key";
|
||||
"ssh/ssh_host_rsa_key.pub".source = "/var/persist/ssh_host_rsa_key.pub";
|
||||
"ssh/ssh_host_ed25519_key".source = "/var/persist/ssh_host_ed25519_key";
|
||||
"ssh/ssh_host_ed25519_key.pub".source = "/var/persist/ssh_host_ed25519_key.pub";
|
||||
"machine-id".source = "/persist/machine-id";
|
||||
"ssh/ssh_host_rsa_key".source = "/persist/ssh_host_rsa_key";
|
||||
"ssh/ssh_host_rsa_key.pub".source = "/persist/ssh_host_rsa_key.pub";
|
||||
"ssh/ssh_host_ed25519_key".source = "/persist/ssh_host_ed25519_key";
|
||||
"ssh/ssh_host_ed25519_key.pub".source = "/persist/ssh_host_ed25519_key.pub";
|
||||
};
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@
|
|||
hostKeys = [
|
||||
{
|
||||
bits = 4096;
|
||||
path = "/var/persist/ssh_host_rsa_key";
|
||||
path = "/persist/ssh_host_rsa_key";
|
||||
rounds = 100;
|
||||
type = "rsa";
|
||||
}
|
||||
{
|
||||
path = "/var/persist/ssh_host_ed25519_key";
|
||||
path = "/persist/ssh_host_ed25519_key";
|
||||
rounds = 100;
|
||||
type = "ed25519";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue