From 43f39674d6ca891dafa4245ae66f36b4c07ba9f0 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 4 Mar 2023 08:19:41 +0000 Subject: [PATCH] nixcache: enable on all machines --- hosts/by-name/lappy/default.nix | 1 - hosts/by-name/moby/default.nix | 1 - hosts/by-name/rescue/default.nix | 1 + hosts/common/default.nix | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/by-name/lappy/default.nix b/hosts/by-name/lappy/default.nix index 216a2068..27872f2e 100644 --- a/hosts/by-name/lappy/default.nix +++ b/hosts/by-name/lappy/default.nix @@ -11,7 +11,6 @@ # sane.guest.enable = true; sane.gui.sway.enable = true; sane.persist.enable = true; - sane.nixcache.enable = true; boot.loader.efi.canTouchEfiVariables = false; sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ]; diff --git a/hosts/by-name/moby/default.nix b/hosts/by-name/moby/default.nix index 996d3b3d..3377aa1f 100644 --- a/hosts/by-name/moby/default.nix +++ b/hosts/by-name/moby/default.nix @@ -34,7 +34,6 @@ ".config/pulse" # persist pulseaudio volume ]; - sane.nixcache.enable = true; sane.persist.enable = true; sane.gui.phosh.enable = true; # sane.programs.consoleUtils.enableFor.user.colin = false; diff --git a/hosts/by-name/rescue/default.nix b/hosts/by-name/rescue/default.nix index 95dff909..ea13d0ae 100644 --- a/hosts/by-name/rescue/default.nix +++ b/hosts/by-name/rescue/default.nix @@ -7,6 +7,7 @@ boot.loader.generic-extlinux-compatible.enable = true; boot.loader.efi.canTouchEfiVariables = false; sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ]; + sane.nixcache.enable = false; # don't want to be calling out to dead machines that we're *trying* to rescue # docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion system.stateVersion = "21.05"; diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 2387e833..299121c7 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -19,6 +19,7 @@ ]; sane.nixcache.enable-trusted-keys = true; + sane.nixcache.enable = lib.mkDefault true; sane.programs.sysadminUtils.enableFor.system = lib.mkDefault true; sane.programs.consoleUtils.enableFor.user.colin = lib.mkDefault true;