From 063b489f1a93ff40b6493ca687db210b17b9474d Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Fri, 26 Sep 2025 23:17:10 +0200 Subject: [PATCH 1/2] hydra: reintroduce nixberry build, need some homeassitant changes --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 6d3a89a..2eae94d 100644 --- a/flake.nix +++ b/flake.nix @@ -174,9 +174,10 @@ self = inputs.self; hydraJobs = { - hosts = lib.mapAttrs (_: cfg: cfg.config.system.build.toplevel) ( - lib.filterAttrs (name: cfg: name != "nixberry") self.outputs.nixosConfigurations - ); + # hosts = lib.mapAttrs (_: cfg: cfg.config.system.build.toplevel) ( + # lib.filterAttrs (name: cfg: name != "nixberry") self.outputs.nixosConfigurations + # ); + hosts = lib.mapAttrs (_: cfg: cfg.config.system.build.toplevel) self.outputs.nixosConfigurations; packages = self.packages; shells = lib.filterAttrs (name: shell: name == "x86_64-linux") self.devShells; }; From 1f0cdc71e7658a76b06c8ef8c76eec69bb0a896f Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Fri, 26 Sep 2025 23:24:14 +0200 Subject: [PATCH 2/2] remotebuild: reduce priority of scheduling of the nix-daemon --- modules/nixos/services/remotebuild/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/services/remotebuild/default.nix b/modules/nixos/services/remotebuild/default.nix index cd6b8ab..fed0c23 100644 --- a/modules/nixos/services/remotebuild/default.nix +++ b/modules/nixos/services/remotebuild/default.nix @@ -37,12 +37,16 @@ in max-jobs = "auto"; cores = 0; }; + + daemonIOSchedClass = lib.mkDefault "idle"; + daemonCPUSchedPolicy = lib.mkDefault "idle"; }; systemd.services.nix-daemon.serviceConfig = { MemoryAccounting = true; MemoryMax = "90%"; OOMScoreAdjust = 500; + Slice = "-.slice"; }; }; }