Rename nix.settings options

This commit is contained in:
coolneng 2022-01-30 22:06:17 +01:00
parent 9e89e81a08
commit c46284571a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,10 @@ with pkgs;
# Run Nix garbage collector and enable flakes
nix = {
autoOptimiseStore = true;
settings = {
auto-optimise-store = true;
trusted-users = [ "root" "coolneng" ];
};
gc = {
automatic = true;
options = "--delete-older-than 7d";
@ -51,7 +54,6 @@ with pkgs;
experimental-features = nix-command flakes
'';
package = nixUnstable;
trustedUsers = [ "root" "coolneng" ];
};
# Clean tmp directory on shutdown