mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
optimize ssh keys
This commit is contained in:
parent
14864ace91
commit
c96c95b742
1 changed files with 2 additions and 3 deletions
|
@ -7,9 +7,8 @@ let
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.users.root.openssh.authorizedKeys =
|
users.users.root.openssh.authorizedKeys.keys =
|
||||||
if config.sconfig.profile == "server"
|
lib.optionals (config.sconfig.profile == "server") keys;
|
||||||
then { inherit keys; } else { };
|
|
||||||
|
|
||||||
users.users.sean = {
|
users.users.sean = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
Loading…
Reference in a new issue