From 6b9ca1f09d43500c16cf51ff56a62a9a2dfca588 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 7 May 2024 11:24:34 -0400 Subject: [PATCH] fix(nix): add michael as trusted nix user --- machines/mac/configuration.nix | 5 ++++- modules/nix.nix | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/mac/configuration.nix b/machines/mac/configuration.nix index 71faf22..1ebbcd4 100644 --- a/machines/mac/configuration.nix +++ b/machines/mac/configuration.nix @@ -71,7 +71,10 @@ extraOptions = '' experimental-features = nix-command flakes ''; - settings.auto-optimise-store = false; + settings = { + auto-optimise-store = false; + trusted-users = ["root" "michael"]; + }; }; system = { diff --git a/modules/nix.nix b/modules/nix.nix index 01aba7e..ee90d45 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -12,6 +12,7 @@ dates = "weekly"; options = "--delete-older-than 30d"; }; + trustedUsers = ["root" "michael"]; }; nixpkgs.config = {