From a57a6fb8900ea8635b5b7a1a4c57b5aa2f1aec12 Mon Sep 17 00:00:00 2001 From: uku Date: Wed, 26 Jun 2024 19:04:44 +0200 Subject: [PATCH] fix: declare substituters better --- configs/common.nix | 4 +++- flake.nix | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/configs/common.nix b/configs/common.nix index 2165e20..9d2e608 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -84,7 +84,9 @@ in { settings = { auto-optimise-store = true; experimental-features = ["nix-command" "flakes"]; - trusted-users = ["root" "@wheel"]; + + trusted-substituters = ["https://ghostty.cachix.org"]; + trusted-public-keys = ["ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="]; }; }; diff --git a/flake.nix b/flake.nix index 5813263..f0a97b1 100644 --- a/flake.nix +++ b/flake.nix @@ -33,11 +33,6 @@ }; }; - nixConfig = { - extra-substituters = ["https://ghostty.cachix.org"]; - extra-trusted-public-keys = ["ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="]; - }; - inputs = { nixpkgs.url = "nixpkgs/nixos-unstable";