Compare commits

...

2 commits

Author SHA1 Message Date
577eebbdf5
loptland: add remote runner 2025-10-31 00:56:41 +01:00
81376afa2e
cholli: add authorizedKeys 2025-10-31 00:56:32 +01:00
2 changed files with 38 additions and 0 deletions

View file

@ -68,5 +68,41 @@ in
443 443
]; ];
nix = {
distributedBuilds = true;
extraOptions = ''
builders-use-substitutes = true
'';
buildMachines = [
{
hostName = "localhost";
protocol = null;
system = "x86_64-linux";
supportedFeatures = [
"kvm"
"nixos-test"
"big-parallel"
"benchmark"
];
}
{
hostName = "100.86.23.74";
sshUser = "remotebuild";
sshKey = "/root/.ssh/remotebuild";
systems = [ "aarch64-linux" ];
protocol = "ssh";
supportedFeatures = [
"nixos-test"
"big-parallel"
"kvm"
];
}
];
};
}; };
} }

View file

@ -41,6 +41,8 @@
shell = pkgs.fish; shell = pkgs.fish;
# TODO: fix this with sops # TODO: fix this with sops
initialPassword = "asdf"; initialPassword = "asdf";
openssh.authorizedKeys.keys = config.flake.meta.users.cholli.authorizedKeys;
}; };
nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ]; nix.settings.trusted-users = [ config.flake.meta.users.cholli.username ];