automatically create authorized_keys
This commit is contained in:
parent
b333024bac
commit
bcf4846371
|
@ -1,7 +1,6 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
users.users.root.openssh.authorizedKeys.keys =
|
||||
if config.services.openssh.enable
|
||||
then (import ../secrets/lib/authorized_keys).admins
|
||||
else [];
|
||||
imports = [
|
||||
../secrets/lib/authorized_keys
|
||||
];
|
||||
}
|
||||
|
|
2
secrets
2
secrets
|
@ -1 +1 @@
|
|||
Subproject commit 3fbfe2f9a6949fee19d70c97d2e5ca27f9d6539f
|
||||
Subproject commit d7e7ae4290c3e7d802b80f6815d1e99b97e49c44
|
Loading…
Reference in New Issue