Skip to content

Commit

Permalink
add users to trusted-users
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh authored and srid committed Mar 1, 2024
1 parent 50cfffb commit 958a602
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hosts/vanjaram/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ in
openssh.authorizedKeys.keys = cfg.pubKeys;
});

nix.settings.trusted-users = [ "root" ] ++ lib.attrNames users;

home-manager.users =
lib.flip lib.mapAttrs users (name: cfg: {
imports = [
Expand Down

0 comments on commit 958a602

Please sign in to comment.