From 0b5ca6d22cb29baf311226ad6aca05ac5e64150c Mon Sep 17 00:00:00 2001 From: alejandro-angulo Date: Sat, 8 Mar 2025 09:36:31 -0800 Subject: [PATCH] Misc updates Update to work with thunderbolt dock and disable self hosted cache temporarily. --- systems/x86_64-linux/carbon/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/systems/x86_64-linux/carbon/default.nix b/systems/x86_64-linux/carbon/default.nix index a2f2ac5..36a304a 100644 --- a/systems/x86_64-linux/carbon/default.nix +++ b/systems/x86_64-linux/carbon/default.nix @@ -1,4 +1,5 @@ -{pkgs, ...}: { +{ pkgs, ... }: +{ imports = [ # Include the results of the hardware scan. ./hardware-configuration-zfs.nix @@ -7,7 +8,7 @@ aa = { nix.enable = true; - nix.useSelfhostedCache = true; + nix.useSelfhostedCache = false; archetypes.workstation.enable = true; @@ -34,6 +35,12 @@ # See: https://github.com/NixOS/nixpkgs/issues/180175 systemd.services.NetworkManager-wait-online.enable = false; + services.tlp.settings = { + USB_DENYLIST = "0000:1111 2222:3333 4444:5555"; + }; + # Still need to run `nix run nixpkgs#bolt -- enroll DEVICE_UUID` + services.hardware.bolt.enable = true; + time.timeZone = "America/Los_Angeles"; # List packages installed in system profile. To search, run: