Rename nix.settings options
This commit is contained in:
parent
9e89e81a08
commit
c46284571a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue