make darwin key root only
This commit is contained in:
@@ -57,12 +57,8 @@ let
|
||||
'';
|
||||
|
||||
sops.secrets = lib.mkIf (lib.hasPrefix "/run/secrets/" (thatHost.ssh.userPrivateKey or "")) {
|
||||
"${lib.removePrefix "/run/secrets/" thatHost.ssh.userPrivateKey}" = {
|
||||
mode = "0440";
|
||||
group = "nix-community-builder";
|
||||
};
|
||||
"${lib.removePrefix "/run/secrets/" thatHost.ssh.userPrivateKey}" = { };
|
||||
};
|
||||
users.groups.nix-community-builder = {};
|
||||
|
||||
})
|
||||
# in
|
||||
|
||||
Reference in New Issue
Block a user