correct + comment remotebuild + update

This commit is contained in:
2025-10-04 15:46:05 +03:00
parent da64a3ee1e
commit 26ae641d28
3 changed files with 23 additions and 19 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1759036355, "lastModified": 1759381078,
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -8,7 +8,7 @@
#./syncthing.nix #./syncthing.nix
./packages.nix ./packages.nix
./de/default.nix ./de/default.nix
./remotebuild_user.nix #./remotebuild_user.nix
../../modules/userapps/kondo_timer.nix ../../modules/userapps/kondo_timer.nix
../../modules/common/nix.nix ../../modules/common/nix.nix
../../modules/common/networking.nix ../../modules/common/networking.nix

View File

@@ -1,17 +1,21 @@
{ config, pkgs, ... }:
{ {
nix.buildMachines = [ { config,
hostName = "192.168.0.101"; pkgs,
system = "aarch64-linux"; ...
protocol = "ssh-ng"; }: {
maxJobs = 1; nix.buildMachines = [
speedFactor = 2; {
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; hostName = "192.168.0.101";
mandatoryFeatues = [ ]; system = "aarch64-linux";
} ]; protocol = "ssh-ng";
nix.distributedBuilds = true; maxJobs = 1;
nix.extraOptions = '' speedFactor = 2;
builders-use-substitutes = true supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
''; mandatoryFeatues = [];
}
];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
} }