devices: enable remote build for srv1

This commit is contained in:
陈浩南 2024-09-19 22:06:24 +08:00
parent 7553028f62
commit 48bbca8b7b
3 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ inputs:
# SERIALIZE SGX WAITPKG WIDEKL XSAVE XSAVEOPT
"alderlake"
];
remote.master = { enable = true; hosts = [ "xmupc1" "xmupc2" ]; };
remote.master = { enable = true; hosts = [ "xmupc1" "xmupc2" "srv1-node0" "srv1-node1" ]; };
githubToken.enable = true;
};
nixpkgs =

View File

@ -6,7 +6,7 @@ inputs:
{
system =
{
nix.marches = [ "cascadelake" "broadwell" ];
nix = { marches = [ "cascadelake" "broadwell" ]; remote.slave.enable = true; };
nixpkgs.march = "cascadelake";
networking.networkd.static =
{

View File

@ -14,6 +14,7 @@ inputs:
};
cluster.nodeType = "worker";
initrd.sshd.enable = true;
nix.remote.slave.enable = true;
};
services.beesd.instances.root = { device = "/"; hashTableSizeMB = 256; threads = 4; };
packages.packages._packages = [(inputs.pkgs.runCommand "master-system" {}