factor out into lib/admins.nix
parent
098be6aba0
commit
9bd5208c2f
@ -0,0 +1,7 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
users.users.root.openssh.authorizedKeys.keys =
|
||||
if config.services.openssh.enable
|
||||
then (import ../secrets/lib/authorized_keys).admins
|
||||
else [];
|
||||
}
|
Loading…
Reference in New Issue