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
|
# Run Nix garbage collector and enable flakes
|
||||||
nix = {
|
nix = {
|
||||||
autoOptimiseStore = true;
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
trusted-users = [ "root" "coolneng" ];
|
||||||
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-older-than 7d";
|
options = "--delete-older-than 7d";
|
||||||
|
@ -51,7 +54,6 @@ with pkgs;
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
package = nixUnstable;
|
package = nixUnstable;
|
||||||
trustedUsers = [ "root" "coolneng" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Clean tmp directory on shutdown
|
# Clean tmp directory on shutdown
|
||||||
|
|
Loading…
Reference in New Issue