From 26ae641d289f235e57866b138ce711c2a13e9048 Mon Sep 17 00:00:00 2001 From: kenny Date: Sat, 4 Oct 2025 15:46:05 +0300 Subject: [PATCH] correct + comment remotebuild + update --- flake.lock | 6 +++--- hosts/puter/default.nix | 2 +- hosts/puter/remotebuild_user.nix | 34 ++++++++++++++++++-------------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/flake.lock b/flake.lock index 1c380f7..cc5c8c8 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1759036355, - "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", + "lastModified": 1759381078, + "narHash": "sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", + "rev": "7df7ff7d8e00218376575f0acdcc5d66741351ee", "type": "github" }, "original": { diff --git a/hosts/puter/default.nix b/hosts/puter/default.nix index a36952f..8dbaac2 100644 --- a/hosts/puter/default.nix +++ b/hosts/puter/default.nix @@ -8,7 +8,7 @@ #./syncthing.nix ./packages.nix ./de/default.nix - ./remotebuild_user.nix + #./remotebuild_user.nix ../../modules/userapps/kondo_timer.nix ../../modules/common/nix.nix ../../modules/common/networking.nix diff --git a/hosts/puter/remotebuild_user.nix b/hosts/puter/remotebuild_user.nix index 61df311..eac66a5 100644 --- a/hosts/puter/remotebuild_user.nix +++ b/hosts/puter/remotebuild_user.nix @@ -1,17 +1,21 @@ -{ config, pkgs, ... }: - { - nix.buildMachines = [ { - hostName = "192.168.0.101"; - system = "aarch64-linux"; - protocol = "ssh-ng"; - maxJobs = 1; - speedFactor = 2; - supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; - mandatoryFeatues = [ ]; - } ]; - nix.distributedBuilds = true; - nix.extraOptions = '' - builders-use-substitutes = true - ''; + config, + pkgs, + ... +}: { + nix.buildMachines = [ + { + hostName = "192.168.0.101"; + system = "aarch64-linux"; + protocol = "ssh-ng"; + maxJobs = 1; + speedFactor = 2; + supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"]; + mandatoryFeatues = []; + } + ]; + nix.distributedBuilds = true; + nix.extraOptions = '' + builders-use-substitutes = true + ''; }