use /persist paths

This commit is contained in:
Adithya 2024-06-16 21:25:47 +05:30
parent 4bf3901e28
commit a448c9071b
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 4 additions and 4 deletions

View file

@ -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; [

View file

@ -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";
}

View file

@ -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