diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/kompakt/configuration.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/nixos/kompakt/configuration.nix b/nixos/kompakt/configuration.nix index 4d4c007..bc033f7 100644 --- a/nixos/kompakt/configuration.nix +++ b/nixos/kompakt/configuration.nix @@ -127,13 +127,23 @@ }; services.openssh.enable = true; + services.openssh.hostKeys = [ + { + path = "/persist/ssh/ssh_host_ed25519_key"; + type = "ed25519"; + } + { + path = "/persist/ssh/ssh_host_rsa_key"; + type = "rsa"; + bits = 4096; + } + ]; environment.systemPackages = with pkgs; [ git ]; environment.persistence."/persist".directories = [ - "/etc/ssh" "/etc/nixos" ]; |