Small cleanup
This commit is contained in:
parent
0f29eb0b0f
commit
a5028e96cc
|
@ -18,8 +18,6 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = lib.mkDefault true;
|
modesetting.enable = lib.mkDefault true;
|
||||||
powerManagement.enable = lib.mkDefault false;
|
powerManagement.enable = lib.mkDefault false;
|
||||||
|
@ -32,6 +30,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Avoid issues with modesetting causing blank screen
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
# AMD has better battery life with PPD over TLP:
|
# AMD has better battery life with PPD over TLP:
|
||||||
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
||||||
services.power-profiles-daemon.enable = lib.mkDefault true;
|
services.power-profiles-daemon.enable = lib.mkDefault true;
|
||||||
|
|
Loading…
Reference in a new issue