config/modules/persistence/default.nix

23 lines
537 B
Nix

{ pkgs, config, ... }:
{
services.openssh.hostKeys = [
{
bits = 4096;
path = "/persist/keys/ssh/ssh_host_rsa_key";
type = "rsa";
}
{
path = "/persist/keys/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
services.kubo.dataDir = "/srv/data/ipfs";
services.lidarr.dataDir = "/persist/db/lidarr";
services.jackett.dataDir = "/persist/db/jackett";
environment.etc = {
"NetworkManager/system-connections".source = "/persist/config/NetworkManager/system-connections";
};
}