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:
Simon Bruder 2021-02-08 23:20:31 +01:00
parent 29c6d37142
commit 15cdd42845
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -81,9 +81,6 @@ in
# command-not-found does not work without channels
programs.command-not-found.enable = false;
# Sane swapping
boot.kernel.sysctl."vm.swapiness" = 10;
# Hard drive monitoring
services.smartd.enable = lib.mkDefault true;
# Network monitoring