Trying to get nvidia to work!

This commit is contained in:
Johannes Jöns 2023-02-22 19:19:58 +01:00
parent 3c4be80813
commit f082e161c9
2 changed files with 6 additions and 10 deletions

View file

@ -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;
}; };
}; };
}; };
@ -82,10 +82,6 @@
support32Bit = true; support32Bit = true;
}; };
}; };
clamav = {
daemon.enable = true;
updater.enable = true;
};
}; };
# Hardware configure # Hardware configure
@ -135,7 +131,7 @@
xwayland.enable = true; xwayland.enable = true;
}; };
security.rtkit.enable = true; #security.rtkit.enable = true;
# Localization # Localization
i18n = { i18n = {

View file

@ -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";