Skip to content

Commit

Permalink
Improve graphics settings
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoth committed Aug 1, 2023
1 parent 2424ad4 commit 7ec5552
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions machines/pcLexell/x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
libinput.enable = true;
layout = "us,ru";
xkbOptions = "grp:shifts_toggle";
dpi = 141; #https://dpi.lv/
displayManager = {
lightdm.enable = lib.mkForce false;
startx.enable = true;
Expand All @@ -49,9 +50,18 @@
scriptPath = ".xinitrc";
};

hardware.opengl = {
enable = true;
driSupport32Bit = true;
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
nvidia = {
#open = false;
modesetting.enable = true;
nvidiaSettings = true;
#package = config.boot.kernelPackages.nvidiaPackages.stable; #Optional
};
};

#services.unclutter = {
Expand Down

0 comments on commit 7ec5552

Please sign in to comment.