Refactoring the config
This commit is contained in:
parent
9c3fc1879c
commit
0e866b1cb0
24 changed files with 355 additions and 304 deletions
23
modules/specialisations/kde-gaming.nix
Normal file
23
modules/specialisations/kde-gaming.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
specialisation = {
|
||||
kde-gaming.configuration = {
|
||||
hardware.nvidia = {
|
||||
prime.sync.enable = lib.mkForce true;
|
||||
prime.offload = {
|
||||
enable = lib.mkForce false;
|
||||
enableOffloadCmd = lib.mkForce false;
|
||||
};
|
||||
};
|
||||
|
||||
# GNOME
|
||||
services.xserver.displayManager.gdm.enable = lib.mkForce false;
|
||||
services.xserver.desktopManager.gnome.enable = lib.mkForce false;
|
||||
|
||||
# KDE
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue