Remove global swapiness
All machines should either import <nixpkgs-hardware/common/pc/hdd> or <nixpkgs-hardware/common/pc/ssd> if they have swap.
This commit is contained in:
parent
29c6d37142
commit
15cdd42845
|
@ -81,9 +81,6 @@ in
|
||||||
# command-not-found does not work without channels
|
# command-not-found does not work without channels
|
||||||
programs.command-not-found.enable = false;
|
programs.command-not-found.enable = false;
|
||||||
|
|
||||||
# Sane swapping
|
|
||||||
boot.kernel.sysctl."vm.swapiness" = 10;
|
|
||||||
|
|
||||||
# Hard drive monitoring
|
# Hard drive monitoring
|
||||||
services.smartd.enable = lib.mkDefault true;
|
services.smartd.enable = lib.mkDefault true;
|
||||||
# Network monitoring
|
# Network monitoring
|
||||||
|
|
Loading…
Reference in a new issue