blob: 66b328f3c03f1619952a8d6db193cbbf6bc55305 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ config, pkgs, lib, nhekoSrc, mtxclientSrc, ... }:
{
imports =
[
];
services = {
xserver = {
videoDrivers = ["nvidia"];
#windowManager.i3.extraSessionCommands = ''
# todo: restore
#'';
};
picom.backend = "glx";
};
hardware = {
graphics = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = true;
nvidiaSettings = true;
nvidiaPersistenced = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
};
system.stateVersion = "22.11"; # DO NOT EDIT!
}
|