nixy: enable zram swap, switch to linux latest, add user to plugdev group
This commit is contained in:
parent
5796eef05a
commit
b1746a6756
@ -89,7 +89,7 @@ in
|
||||
"amdgpu.sg_display=0"
|
||||
"amdgpu.gttsize=2048"
|
||||
];
|
||||
kernelPackages = pkgs.linuxPackages_hardened;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernel.sysctl = {
|
||||
"net.core.default_qdisc" = "fq";
|
||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||
@ -653,7 +653,7 @@ in
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
};
|
||||
|
||||
@ -661,14 +661,15 @@ in
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"wireshark"
|
||||
"kvm"
|
||||
"tty"
|
||||
"audio"
|
||||
"sound"
|
||||
"adbusers"
|
||||
"audio"
|
||||
"dialout"
|
||||
"kvm"
|
||||
"plugdev"
|
||||
"sound"
|
||||
"tty"
|
||||
"wheel"
|
||||
"wireshark"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user