refactor config with better structure
This commit is contained in:
1 parent
b80d6b9b1f
commit
269c49b2d5
32 files changed
+212
-149
No files matched your search
@@ -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" ];
|
||||
}
|
||||
Reference in new issue
Block a user