From ad6c5ab803f9b516abc49368971e74fd611b9f73 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 6 Jun 2026 11:04:13 +0000 Subject: [PATCH] feat: `base`: +cache --- nixos/module/hectic/archetype/base.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nixos/module/hectic/archetype/base.nix b/nixos/module/hectic/archetype/base.nix index 2707ada9..8531b668 100644 --- a/nixos/module/hectic/archetype/base.nix +++ b/nixos/module/hectic/archetype/base.nix @@ -1,7 +1,7 @@ { inputs, - flake, self, + ... }: { pkgs, lib, @@ -27,7 +27,15 @@ in { users.defaultUserShell = pkgs.zsh; # Enable flakes and new 'nix' command - nix.settings.experimental-features = "nix-command flakes"; + nix.settings = { + experimental-features = "nix-command flakes"; + extra-substituters = [ + "https://cache.hectic-lab.com/hectic" + ]; + extra-trusted-public-keys = [ + "hectic:KMQsKow4SoA9K2vOJlOljmx7/Zpf91Yy+5qEtxDDCzA=" + ]; + }; networking.firewall.enable = true;