nixy: enable zram swap, switch to linux latest, add user to plugdev group

This commit is contained in:
Asmir A 2025-10-15 17:01:21 +02:00
parent 5796eef05a
commit b1746a6756
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -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"
];
};
}