Nvidia fixes

This commit is contained in:
Johannes Jöns 2023-02-23 13:28:36 +01:00
parent bb5fadc254
commit bc0766220d
2 changed files with 8 additions and 6 deletions

View file

@ -12,7 +12,7 @@
platformTheme = lib.mkForce "kde";
};
#virtualisation.waydroid.enable = true;
virtualisation.waydroid.enable = true;
nix.settings = {
substituters = [
@ -42,15 +42,15 @@
displayManager = {
sddm = {
enable = true;
#enableHidpi = true;
enableHidpi = true;
};
lightdm.extraConfig = "user-authority-in-system-dir = true";
};
desktopManager = {
plasma5 = {
enable = true;
#supportDDC = true;
#useQtScaling = true;
supportDDC = true;
useQtScaling = true;
};
};
};
@ -127,7 +127,7 @@
programs = {
dconf.enable = true;
droidcam.enable = true;
#sysdig.enable = true;
sysdig.enable = true;
xwayland.enable = true;
};

View file

@ -26,7 +26,7 @@
console.keyMap = "de";
services.xserver.videoDrivers = [ "nvidia" ];
# hardware.opengl.enable = true;
hardware.opengl.enable = true;
fileSystems."/" =
{ device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
@ -57,4 +57,6 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
boot.kernelParams = [ "module_blacklist=i915" ];
}