KDE: Difference between revisions

Add troubleshooting steps to control external monitor brightness through KDE
Phobos (talk | contribs)
m updated config syntax and corrected sddm config for kde
Line 5: Line 5:
=== Plasma 6 ===
=== Plasma 6 ===


{{file|3=<nowiki>
{{file|3=# Enable Plasma
{
services.desktopManager.plasma6.enable = true;
  services.xserver.enable = true; # optional
 
  services.displayManager.sddm.enable = true;
# Default display manager for Plasma
   services.desktopManager.plasma6.enable = true;
services.displayManager.sddm = {
}
  enable = true;
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}
 
# To use Wayland (Experimental for SDDM)
  wayland = {
    enable = true;
    compositor = "kwin";
   };
};
 
# Optionally enable xserver
services.xserver.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}


=== Plasma 5 ===
=== Plasma 5 ===


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|3=# Enable Plasma 5 and xserver
{
services.xserver = {
   services.xserver.enable = true;
   enable = true;
   services.displayManager.sddm.enable = true;
   desktopManager.plasma5.enable = true;
  services.xserver.desktopManager.plasma5.enable = true;
};
}
 
</nowiki>}}''<big>'''Note:'''</big> As of 2024, KDE Plasma 5 is end of life will not be available after NixOS 25.05.''
# Enable the default display manager
services.displayManager.sddm.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}}''<big>'''Note:'''</big> As of 2024, KDE Plasma 5 is end of life will not be available after NixOS 25.05.''


== Configuration ==
== Configuration ==