diff options
Diffstat (limited to 'systems')
-rw-r--r-- | systems/cobalt/default.nix | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/systems/cobalt/default.nix b/systems/cobalt/default.nix index 238cb28..16e7c37 100644 --- a/systems/cobalt/default.nix +++ b/systems/cobalt/default.nix @@ -133,21 +133,6 @@ in services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "prohibit-password"; - services.openssh.hostKeys = [ - { - path = "/persist/ssh/ssh_host_ed25519_key"; - type = "ed25519"; - } - { - path = "/persist/ssh/ssh_host_rsa_key"; - type = "rsa"; - bits = 4096; - } - ]; - - # impermanence requirement - fileSystems."/persist".neededForBoot = true; - environment.systemPackages = with pkgs; [ bsd-finger ]; @@ -176,6 +161,10 @@ in modules = { sops.enable = true; + persistence = { + enable = true; + storagePath = "/persist"; + }; services.backup = { enable = true; |