uku
e9ceb852f9
now using a homemade `mkSystem` function to make systems more identical thanks to leah for telling me about genAttrs note to future self: this is the commit where everything started going to shit. this is the moment in time where i decided nix was perfection. this is the precise timestamp in which i found out that there's no coming back from nix. i bid you farewell, old uku.
26 lines
639 B
Nix
26 lines
639 B
Nix
_: {
|
|
services.xserver.videoDrivers = ["amdgpu"];
|
|
|
|
# services.xserver.videoDrivers = ["nvidia"];
|
|
|
|
# hardware.opengl = {
|
|
# driSupport = true;
|
|
# driSupport32Bit = true;
|
|
# };
|
|
|
|
# hardware.nvidia = {
|
|
# modesetting.enable = true;
|
|
# powerManagement = {
|
|
# enable = true;
|
|
# finegrained = false;
|
|
# };
|
|
# open = false;
|
|
# nvidiaSettings = true;
|
|
# };
|
|
|
|
# boot.extraModprobeConfig = ''
|
|
# options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
|
|
# '';
|
|
|
|
# programs.hyprland.enableNvidiaPatches = true;
|
|
}
|