From 0da02d747a6966a925f715e415849ef9fe229f67 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 7 May 2024 20:53:47 -0400 Subject: [PATCH] fix(nix): use new configuration syntax --- modules/nix.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index ee90d45..173fcf7 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -6,13 +6,15 @@ # this is required until nix 2.4 is released package = pkgs.nixFlakes; - settings.auto-optimise-store = true; + settings = { + auto-optimise-store = true; + trusted-users = ["root" "michael"]; + }; gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 30d"; }; - trustedUsers = ["root" "michael"]; }; nixpkgs.config = {