42 lines
736 B
Nix
42 lines
736 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
{
|
|
# kde
|
|
services = {
|
|
desktopManager.plasma6.enable = true;
|
|
displayManager.ly.enable = true;
|
|
};
|
|
|
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
|
plasma-browser-integration
|
|
konsole
|
|
kate
|
|
okular
|
|
gwenview
|
|
elisa
|
|
];
|
|
|
|
qt.enable = true;
|
|
environment.systemPackages = with pkgs; [
|
|
qadwaitadecorations-qt6
|
|
qt6.qtsvg
|
|
];
|
|
|
|
# drivers
|
|
hardware.graphics.enable = true;
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia.open = true;
|
|
|
|
|
|
hardware.nvidia.modesetting.enable = true;
|
|
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
"nvidia-x11"
|
|
"nvidia-settings"
|
|
"nvidia-persistenced"
|
|
];
|
|
|
|
}
|