mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 08:56:34 +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";
|
platformTheme = lib.mkForce "kde";
|
||||||
};
|
};
|
||||||
|
|
||||||
#virtualisation.waydroid.enable = true;
|
virtualisation.waydroid.enable = true;
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
substituters = [
|
substituters = [
|
||||||
|
@ -42,15 +42,15 @@
|
||||||
displayManager = {
|
displayManager = {
|
||||||
sddm = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#enableHidpi = true;
|
enableHidpi = true;
|
||||||
};
|
};
|
||||||
lightdm.extraConfig = "user-authority-in-system-dir = true";
|
lightdm.extraConfig = "user-authority-in-system-dir = true";
|
||||||
};
|
};
|
||||||
desktopManager = {
|
desktopManager = {
|
||||||
plasma5 = {
|
plasma5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#supportDDC = true;
|
supportDDC = true;
|
||||||
#useQtScaling = true;
|
useQtScaling = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
droidcam.enable = true;
|
droidcam.enable = true;
|
||||||
#sysdig.enable = true;
|
sysdig.enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
4
kami.nix
4
kami.nix
|
@ -26,7 +26,7 @@
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
# hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
|
{ device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
|
||||||
|
@ -57,4 +57,6 @@
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
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