config/modules/persistence/default.nix

24 lines
537 B
Nix
Raw Normal View History

2022-02-05 21:42:36 +02:00
{ 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";
}
];
2022-06-15 00:50:44 +03:00
services.ipfs.dataDir = "/srv/data/ipfs";
2022-02-05 21:42:36 +02:00
services.lidarr.dataDir = "/persist/db/lidarr";
services.jackett.dataDir = "/persist/db/jackett";
environment.etc = {
"NetworkManager/system-connections".source = "/persist/config/NetworkManager/system-connections";
};
}