added distributed build

This commit is contained in:
yaroslav
2025-09-23 23:01:16 +03:00
parent 488c85f148
commit 9b2bfc95ea
5 changed files with 46 additions and 1 deletions
+17
View File
@@ -23,5 +23,22 @@
networking.interfaces.enp12s0.wakeOnLan.enable = true;
networking.interfaces.enp12s0.wakeOnLan.policy = [ "magic" ];
# build substituter
users.users.nixremote = {
isNormalUser = true;
createHome = false;
group = "nixremote";
openssh.authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIt6Ts4SNWXv2hObOOKyyxXr/6iZBRZXEwE0mtEpCa8X root@Ratchet"
];
};
users.groups.remotebuild = {};
services.nix-serve.secretKeyFile = "/home/store_secret.pem";
nix.settings.trusted-users = [ "nixremote" ];
}