From 400d9e6c257e3b51836739011d2e46381ba7726c Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 26 Apr 2023 12:05:13 -0400 Subject: pbody: set atlas as ssh substituter --- hosts/p-body/default.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'hosts/p-body/default.nix') diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index c303882..e170977 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -18,7 +18,21 @@ ]; networking.hostName = "p-body"; - nix.settings.trusted-users = ["p-body"]; + nix.settings = { + trusted-substituters = [ + "https://nix-community.cachix.org" + "https://hercules-ci.cachix.org" + "ssh://nix-ssh@164.152.18.102:420" + ]; + + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0=" + "164.152.18.102:1qdvbe6dUxq/UPgB4G2JzOOqj1cU0WlNO+OrlQC2ticKX/RTM50jWpN3VswO10DPIrRLUnrTl+UtoNL3Vgu3Ow==" + ]; + + trusted-users = ["p-body"]; + }; services = { #caddy = { -- cgit v1.2.3