From 5da59d89645d63039e876992b5facf1a8abb4570 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Mon, 3 Mar 2025 18:18:45 -0600 Subject: [PATCH] pi4 substituters --- hosts/pi4/configuration.nix | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/hosts/pi4/configuration.nix b/hosts/pi4/configuration.nix index 990d693..14b6f48 100755 --- a/hosts/pi4/configuration.nix +++ b/hosts/pi4/configuration.nix @@ -24,14 +24,32 @@ in ../default.nix ]; + # Enable nix flakes and nix-command tools - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; - - nix.settings.trusted-users = [ "@wheel" ]; - + nix = { + settings = { + substituters = [ + "https://cache.mjallen.dev" + "https://nix-community.cachix.org" + "https://cache.nixos.org/" + ]; + trusted-public-keys = [ + "cache.mjallen.dev-1:IzFmKCd8/gggI6lcCXsW65qQwiCLGFFN9t9s2iw7Lvc=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + warn-dirty = lib.mkForce false; + experimental-features = lib.mkForce [ + "nix-command" + "flakes" + ]; + trusted-users = lib.mkDefault [ + "root" + "@wheel" + user + ]; + }; + }; + services.xserver = { enable = false; desktopManager = {