sshd can use outputRef for authorized_keys

This commit is contained in:
Daniel Barlow
2024-08-25 16:35:50 +01:00
parent 83ca86fe42
commit c7164a6f4a
3 changed files with 17 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ in {
description = "Allow remote hosts to connect to local forwarded ports (by default they are bound to loopback)";
};
authorizedKeys = mkOption {
type = types.nullOr (types.attrsOf (types.listOf types.nonEmptyStr));
type = types.nullOr (liminix.lib.types.replacable (types.attrsOf (types.listOf types.nonEmptyStr)));
example = {
root = ["ssh-rsa AAAAB3N...aZaZ"];
alice = ["ssh-rsa AAAAB3N...qS4r"];