blob: 998001c05f906ca6405c557fac0c342e93d90745 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ config, pkgs, ... }:
{ environment.systemPackages = with pkgs; [
fuse_exfat
cryptsetup
dmidecode
hdparm
pciutils
usbutils
];
boot.kernel.sysctl = {
"net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp";
"net.ipv4.tcp_congestion_control" = "illinois";
};
zramSwap = {
enable = true;
algorithm = "zstd";
};
boot.tmpOnTmpfs = true;
boot.kernelModules = [ "bfq" ];
fileSystems."/".options = [ "noatime" "nodiratime" ];
fileSystems."/home".options = [ "noatime" "nodiratime" ];
}
|