mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 15:26:53 +01:00
Nvidia fixes
This commit is contained in:
parent
bb5fadc254
commit
bc0766220d
2 changed files with 8 additions and 6 deletions
10
common.nix
10
common.nix
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
4
kami.nix
4
kami.nix
|
@ -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" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue