mod(remoteBuilder): works

This commit is contained in:
2025-12-29 11:23:55 +00:00
parent 33b2854c19
commit 294fc0a229
2 changed files with 4 additions and 9 deletions

View File

@@ -231,14 +231,6 @@ in
# enable = true; # enable = true;
startAgent = true; startAgent = true;
matchBlocks = {
"*" = {
addKeysToAgent = "yes";
identityFile = [
"~/.ssh/id_ed25519"
];
};
};
}; };
fish.enable = true; fish.enable = true;
}; };

View File

@@ -9,8 +9,9 @@ let
remoteBuilder = lib.mkIf cfg.become-remote-builder { remoteBuilder = lib.mkIf cfg.become-remote-builder {
users.users.remotebuild = { users.users.remotebuild = {
isSystemUser = true; isSystemUser = true;
shell = pkgs.bashInteractive;
group = "remotebuild"; group = "remotebuild";
useDefaultShell = true; # useDefaultShell = true;
# ssh-keygen -f /root/.ssh/remotebuild # ssh-keygen -f /root/.ssh/remotebuild
openssh.authorizedKeys.keyFiles = [ ./remotebuild.pub ]; openssh.authorizedKeys.keyFiles = [ ./remotebuild.pub ];
@@ -40,6 +41,8 @@ let
sshUser = "remotebuild"; sshUser = "remotebuild";
sshKey = "/root/.ssh/remotebuild"; sshKey = "/root/.ssh/remotebuild";
system = "x86_64-linux"; system = "x86_64-linux";
maxJobs = 8;
speedFactor = 2;
supportedFeatures = [ supportedFeatures = [
"nixos-test" "nixos-test"
"big-parallel" "big-parallel"