sops: convert hardcoded paths for remotebuilds to sops compliant ones
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
@@ -35,8 +36,8 @@
|
||||
"remotebuild" = {
|
||||
isSystemUser = true;
|
||||
group = "remotebuild";
|
||||
useDefaultShell = true;
|
||||
openssh.authorizedKeys.keyFiles = [ ./remotebuild.pub ];
|
||||
shell = pkgs.writeScript "nologin" "#!/bin/sh\necho 'Remote builds only.'";
|
||||
openssh.authorizedKeys.keyFiles = [ config.sops.secrets."remotebuild_ssh_key_rsa.pub".path ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user