From 359b6651dbc0be6072c43b496c2deaf06acb1c2c Mon Sep 17 00:00:00 2001 From: rope Date: Sat, 16 May 2026 12:42:27 +0100 Subject: [PATCH] hosts: disable local builds on Macbook; add garnix cache for Gaming Co-Authored-By: Claude Sonnet 4.6 --- hosts/FredOS-Macbook.nix | 2 ++ hosts/hardware/FredOS-Gaming.nix | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/FredOS-Macbook.nix b/hosts/FredOS-Macbook.nix index 0265d5a..41a607c 100644 --- a/hosts/FredOS-Macbook.nix +++ b/hosts/FredOS-Macbook.nix @@ -15,6 +15,8 @@ vscodium ]; + nix.settings.max-jobs = 0; + services.tlp.enable = false; programs.nix-ld.enable = true; services.power-profiles-daemon.enable = true; diff --git a/hosts/hardware/FredOS-Gaming.nix b/hosts/hardware/FredOS-Gaming.nix index 64d5306..d93ff4b 100644 --- a/hosts/hardware/FredOS-Gaming.nix +++ b/hosts/hardware/FredOS-Gaming.nix @@ -9,8 +9,14 @@ boot.kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-bore; nix.settings = { - substituters = [ "https://attic.xuyh0120.win/lantian" ]; - trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ]; + substituters = [ + "https://attic.xuyh0120.win/lantian" + "https://cache.garnix.io" + ]; + trusted-public-keys = [ + "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" + ]; }; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];