From 06bf993fb8631a31872fd88a924bf8e8f5397a7e Mon Sep 17 00:00:00 2001 From: William P Date: Sun, 22 Feb 2026 21:10:08 -0500 Subject: [PATCH] add nix config to base config --- common/core.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/common/core.nix b/common/core.nix index d8385d0..e5eb924 100644 --- a/common/core.nix +++ b/common/core.nix @@ -6,4 +6,19 @@ programs.nix-ld.enable = true; security.sudo.wheelNeedsPassword = false; system.stateVersion = "25.11"; + + nix = { + settings = { + experimental-features = ["nix-command" "flakes"]; + auto-optimise-store = true; + trusted-users = ["@wheel"]; + substituters = [ + "https://nix-cache.dubyatp.xyz/duby" + ]; + trusted-public-keys = [ + "duby:IUVsFbQu499JOaHmUpi/mwhZEVQK7soFn7H6lD2/2T4=" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + ]; + }; + }; } \ No newline at end of file