31 lines
717 B
Nix
31 lines
717 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
services = {
|
|
xserver.enable = true;
|
|
desktopManager.plasma6.enable = true;
|
|
displayManager.defaultSession = "plasmax11";
|
|
displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = false;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
librewolf
|
|
];
|
|
|
|
# Nvidia
|
|
my.allowUnfree.names = lib.mkAfter [
|
|
"nvidia-x11"
|
|
"nvidia-settings"
|
|
];
|
|
hardware.graphics.enable = true;
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia = {
|
|
modesetting.enable = true;
|
|
open = false;
|
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
};
|
|
}
|