From b1746a6756859b4e3186f02d3cae055b9680137d Mon Sep 17 00:00:00 2001 From: Asmir A Date: Wed, 15 Oct 2025 17:01:21 +0200 Subject: [PATCH] nixy: enable zram swap, switch to linux latest, add user to plugdev group --- nixy/configuration.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/nixy/configuration.nix b/nixy/configuration.nix index ecd2c0b..7ede2f7 100644 --- a/nixy/configuration.nix +++ b/nixy/configuration.nix @@ -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" ]; }; }