config/modules/persistence/default.nix
2022-02-05 20:47:50 +01:00

23 lines
536 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.ipfs.dataDir = "/persist/ipfs";
services.lidarr.dataDir = "/persist/db/lidarr";
services.jackett.dataDir = "/persist/db/jackett";
environment.etc = {
"NetworkManager/system-connections".source = "/persist/config/NetworkManager/system-connections";
};
}