From 2f937b471ff0b30554e4ba2a5f910c647e7329f2 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Wed, 12 Mar 2025 12:54:57 -0600 Subject: [PATCH] feat(deertopia): Set trusted-users --- hosts/deertopia/configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/deertopia/configuration.nix b/hosts/deertopia/configuration.nix index a4d74ab..f768f66 100755 --- a/hosts/deertopia/configuration.nix +++ b/hosts/deertopia/configuration.nix @@ -105,6 +105,21 @@ # TODO: Move to defaults. users.mutableUsers = false; + nix = { + settings = { + trusted-users = [ + "@wheel" + ]; + substituters = [ + "https://nix-community.cachix.org" + "https://cache.nixos.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + }; + # This option defines the first version of NixOS you have installed on this # particular machine, and is used to maintain compatibility with application # data (e.g. databases) created on older NixOS versions.