Enable garbage-collect, menzel netbox
This commit is contained in:
@@ -12,20 +12,20 @@ boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
# package = pkgs.nixFlakes;
|
||||
# gc = {
|
||||
# automatic = true;
|
||||
# dates = "weekly";
|
||||
# options = "--delete-older-than 7d";
|
||||
# persistent = true;
|
||||
# };
|
||||
package = pkgs.nixFlakes;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
persistent = true;
|
||||
};
|
||||
settings.auto-optimise-store = true;
|
||||
};
|
||||
|
||||
#### extra network ####
|
||||
#networking.extraHosts =
|
||||
# ''
|
||||
# 10.8.0.1 auth.w3n.cc
|
||||
# '';
|
||||
networking.extraHosts =
|
||||
''
|
||||
10.1.40.50 netbox-100.intern.menzel-it.net
|
||||
'';
|
||||
#
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user