refactor config with better structure

This commit is contained in:
Prouk committed 2026-10-03 01:01:15 +02:00
1 parent b80d6b9b1f
commit 269c49b2d5
32 files changed
+212 -149

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{ pkgs, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
branch = "bleeding_edge";
modesetting.enable = true;
open = true;
nvidiaSettings = true;
};
environment.systemPackages = with pkgs; [
egl-wayland
lact
libva-utils
nvidia-vaapi-driver
nvtopPackages.nvidia
];
# LACT GPU control daemon
systemd.packages = with pkgs; [ lact ];
systemd.services.lactd.wantedBy = [ "multi-user.target" ];
}