updated nixos
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{ 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"
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user