fix(build01/nix-builder): Use dgn-access-control
All checks were successful
Build the shell / build-shell (push) Successful in 26s
Build all the nodes / netcore02 (push) Successful in 32s
Build all the nodes / ap01 (push) Successful in 33s
Run pre-commit on all files / pre-commit (push) Successful in 23s
Build all the nodes / geo01 (push) Successful in 1m34s
Build all the nodes / tower01 (push) Successful in 1m39s
Build all the nodes / hypervisor02 (push) Successful in 1m46s
Build all the nodes / hypervisor03 (push) Successful in 1m46s
Build all the nodes / bridge01 (push) Successful in 1m55s
Build all the nodes / geo02 (push) Successful in 1m59s
Build all the nodes / vault01 (push) Successful in 1m59s
Build all the nodes / web02 (push) Successful in 1m58s
Build all the nodes / rescue01 (push) Successful in 2m0s
Build all the nodes / hypervisor01 (push) Successful in 2m6s
Build all the nodes / web03 (push) Successful in 2m4s
Build all the nodes / compute01 (push) Successful in 2m17s
Build all the nodes / build01 (push) Successful in 2m18s
Build all the nodes / storage01 (push) Successful in 2m23s
Build all the nodes / web01 (push) Successful in 2m56s
All checks were successful
Build the shell / build-shell (push) Successful in 26s
Build all the nodes / netcore02 (push) Successful in 32s
Build all the nodes / ap01 (push) Successful in 33s
Run pre-commit on all files / pre-commit (push) Successful in 23s
Build all the nodes / geo01 (push) Successful in 1m34s
Build all the nodes / tower01 (push) Successful in 1m39s
Build all the nodes / hypervisor02 (push) Successful in 1m46s
Build all the nodes / hypervisor03 (push) Successful in 1m46s
Build all the nodes / bridge01 (push) Successful in 1m55s
Build all the nodes / geo02 (push) Successful in 1m59s
Build all the nodes / vault01 (push) Successful in 1m59s
Build all the nodes / web02 (push) Successful in 1m58s
Build all the nodes / rescue01 (push) Successful in 2m0s
Build all the nodes / hypervisor01 (push) Successful in 2m6s
Build all the nodes / web03 (push) Successful in 2m4s
Build all the nodes / compute01 (push) Successful in 2m17s
Build all the nodes / build01 (push) Successful in 2m18s
Build all the nodes / storage01 (push) Successful in 2m23s
Build all the nodes / web01 (push) Successful in 2m56s
This commit is contained in:
parent
4b30fb8a36
commit
07d226a06e
2 changed files with 2 additions and 7 deletions
|
@ -8,15 +8,9 @@
|
||||||
meta,
|
meta,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
keys = (import ../../../keys)._keys;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
users.users = lib.genAttrs meta.organization.groups.nix-builder (u: {
|
dgn-access-control.users = lib.genAttrs meta.organization.groups.nix-builder (u: lib.singleton u);
|
||||||
isNormalUser = true;
|
|
||||||
openssh.authorizedKeys.keys = keys.${u};
|
|
||||||
});
|
|
||||||
|
|
||||||
security.pam.loginLimits = [
|
security.pam.loginLimits = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,6 +58,7 @@ in
|
||||||
users.users = builtins.mapAttrs (
|
users.users = builtins.mapAttrs (
|
||||||
username: members:
|
username: members:
|
||||||
{
|
{
|
||||||
|
isNormalUser = lib.mkIf (username != "root") true;
|
||||||
openssh.authorizedKeys.keys = dgn-keys.getKeys members;
|
openssh.authorizedKeys.keys = dgn-keys.getKeys members;
|
||||||
}
|
}
|
||||||
// optionalAttrs (username == "root") { inherit (nodeMeta) hashedPassword; }
|
// optionalAttrs (username == "root") { inherit (nodeMeta) hashedPassword; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue