DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

5c2d36800e79c92ed5ad3c96012a0ac302880df5 — Jonni Liljamo 14 days ago 6f089aa
nix: use substituters for both trusted and normal
1 files changed, 8 insertions(+), 5 deletions(-)

M modules/nixos/nix.nix
M modules/nixos/nix.nix => modules/nixos/nix.nix +8 -5
@@ 1,4 1,9 @@
{
let
  substituters = [
    "https://cache.hydra.lab.liljamo.com"
    "https://hyprland.cachix.org"
  ];
in {
  flake.modules.nixos.nix = {...}: {
    nix = {
      gc = {


@@ 10,10 15,8 @@
        auto-optimise-store = true;
        experimental-features = ["nix-command" "flakes"];
        trusted-users = ["@wheel"];
        trusted-substituters = [
          "https://cache.hydra.lab.liljamo.com"
          "https://hyprland.cachix.org"
        ];
        substituters = substituters;
        trusted-substituters = substituters;
        trusted-public-keys = [
          "hydracache:gJygjf4gFURF0LZhKosqLyFW4PG/EMgJSaAbaCnsOEA="
          "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="