extra principals for SSH host certs
This commit is contained in:
@@ -63,6 +63,10 @@ in
|
||||
sops.defaultSopsFile = ../../../keys/secrets.yaml;
|
||||
step-ssh-host = {
|
||||
hostname = hostname;
|
||||
extraPrincipals = [
|
||||
"192.168.1.244"
|
||||
"fded:fb16:653e:25da:be24:11ff:fea0:753f"
|
||||
];
|
||||
};
|
||||
mtls = {
|
||||
enable = true;
|
||||
@@ -73,6 +77,10 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
# users.users."${username}".openssh.authorizedKeys.keys = [
|
||||
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMOkGLo4N/L3RYvaIZ1FmePlxa1HK0fMciZxKtRhN58F root@janus"
|
||||
# ];
|
||||
|
||||
home-manager.users."${username}" = {
|
||||
imports = with inputs.self.modules.homeManager; [
|
||||
mysops
|
||||
|
||||
Reference in New Issue
Block a user