feat: Change the remotebuild user to a build only user instead of a

regular user
This commit is contained in:
uttarayan21
2025-02-01 06:18:38 +05:30
parent c2f20dccd0
commit c655a56242
5 changed files with 27 additions and 15 deletions

View File

@@ -62,15 +62,15 @@
options = "--delete-older-than +5";
};
package = pkgs.nixVersions.latest;
# buildMachines = [
# {
# hostName = "sh.darksailor.dev";
# sshUser = "nixbuilder";
# system = "x86_64-linux";
# protocol = "ssh-ng";
# supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
# }
# ];
buildMachines = [
{
hostName = "sh.darksailor.dev";
sshUser = "remotebuilder";
system = "x86_64-linux";
protocol = "ssh-ng";
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
}
];
distributedBuilds = true;
};
@@ -86,6 +86,12 @@
tailscale = {
enable = true;
};
sunshine = {
enable = true;
openFirewall = true;
capSysAdmin = true;
# applications = {};
};
mullvad-vpn.enable = true;
resolved = {
enable = true;