mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
misc cleanup
This commit is contained in:
parent
7326e9213e
commit
ef9f011e57
9 changed files with 62 additions and 60 deletions
|
|
@ -1,8 +1,4 @@
|
|||
_: {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
_: {config, ...}: {
|
||||
hardware.nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.latest;
|
||||
prime = {
|
||||
|
|
@ -10,7 +6,6 @@ _: {
|
|||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
# sync.enable = true;
|
||||
amdgpuBusId = "PCI:5:0:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
};
|
||||
|
|
@ -23,7 +18,6 @@ _: {
|
|||
modesetting.enable = true;
|
||||
};
|
||||
services.xserver = {
|
||||
videoDrivers = ["nvidia"];
|
||||
#disable DPMS
|
||||
monitorSection = ''
|
||||
Option "DPMS" "false"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue