Restrict connection source for keys
This commit is contained in:
parent
0fe0bb0367
commit
28d891f4e2
|
@ -47,7 +47,7 @@ in
|
||||||
description = "Nix build farm user";
|
description = "Nix build farm user";
|
||||||
group = build-user;
|
group = build-user;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
openssh.authorizedKeys.keys = lib.mapAttrsToList (_: host: host.pubKey) otherHosts;
|
openssh.authorizedKeys.keys = lib.mapAttrsToList (_: host: ''from="${host.host}" ${host.pubKey}'') otherHosts;
|
||||||
};
|
};
|
||||||
groups.${build-user} = { };
|
groups.${build-user} = { };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue