use /persist paths
This commit is contained in:
parent
4bf3901e28
commit
a448c9071b
3 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
loader.systemd-boot.enable = lib.mkForce false;
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
pkiBundle = "/persist/system/etc/secureboot";
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -8,11 +8,11 @@ _: {
|
|||
};
|
||||
hostKeys = [
|
||||
{
|
||||
path = "/etc/ssh/keys/ssh_host_ed25519_key";
|
||||
path = "/persist/system/etc/ssh/keys/ssh_host_ed25519_key";
|
||||
type = "ed25519";
|
||||
}
|
||||
{
|
||||
path = "/etc/ssh/keys/ssh_host_rsa_key";
|
||||
path = "/persist/system/etc/ssh/keys/ssh_host_rsa_key";
|
||||
type = "rsa";
|
||||
bits = "4096";
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ in
|
|||
"fd7c:585c:c4ae::2/64"
|
||||
];
|
||||
listenPort = 51822;
|
||||
privateKeyFile = "/etc/wireguard/private.key";
|
||||
privateKeyFile = "/persist/system/etc/wireguard/private.key";
|
||||
generatePrivateKeyFile = true;
|
||||
peers = [
|
||||
wireguard_server
|
||||
|
|
Loading…
Reference in a new issue