From 1e1e8e8509ba35731b9fe4125db041582c8b86a7 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Mon, 23 Dec 2024 08:38:52 +0700 Subject: [PATCH] :construction: downsize cores --- components/network/hosts.nix | 2 -- flake.nix | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/network/hosts.nix b/components/network/hosts.nix index a6af93a..55b7bc8 100644 --- a/components/network/hosts.nix +++ b/components/network/hosts.nix @@ -2,8 +2,6 @@ { networking.extraHosts = '' 95.216.66.212 orbi.public - 23.35.228.101 store.steampowered.com - 92.122.104.90 steamcommunity.com ''; services.openssh.knownHosts = { "orbi.public".publicKey = clanLib.readFact "ssh.id_ed25519.pub" "orbi"; diff --git a/flake.nix b/flake.nix index 0f61605..f703048 100644 --- a/flake.nix +++ b/flake.nix @@ -275,7 +275,9 @@ "nix-command" "flakes" ]; + # https://nix.dev/manual/nix/2.17/advanced-topics/cores-vs-jobs nix.settings.max-jobs = 1; + nix.settings.cores = 4; # no channesl needed this way nix.nixPath = [ "nixpkgs=${pkgs.path}" ];