From da6a7d5c69aa3e8b70755e88be0f44b642422114 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 7 Dec 2023 20:32:45 +0100 Subject: bump --- modules/openssh.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/openssh.nix') diff --git a/modules/openssh.nix b/modules/openssh.nix index b5950610..78749869 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -6,8 +6,8 @@ with lib; options = { services.openssh = { settings.HostKeyAlgorithms = mkOption { - type = types.listOf types.str; - default = [ + type = types.str; + default = concatStringsSep "," [ "ssh-ed25519" "ssh-ed25519-cert-v01@openssh.com" "sk-ssh-ed25519@openssh.com" @@ -32,8 +32,8 @@ with lib; ]; }; settings.CASignatureAlgorithms = mkOption { - type = types.listOf types.str; - default = [ + type = types.str; + default = concatStringsSep "," [ "ssh-ed25519" "ecdsa-sha2-nistp256" "ecdsa-sha2-nistp384" @@ -45,8 +45,8 @@ with lib; ]; }; settings.PubkeyAcceptedAlgorithms = mkOption { - type = types.listOf types.str; - default = [ + type = types.str; + default = concatStringsSep "," [ "ssh-ed25519" "ssh-ed25519-cert-v01@openssh.com" "sk-ssh-ed25519@openssh.com" -- cgit v1.2.3