fix(nix): use new configuration syntax

This commit is contained in:
Michael Thomas 2024-05-07 20:53:47 -04:00
parent 129531432f
commit 0da02d747a

View File

@ -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 = {