KDE: Difference between revisions

Sdht0 (talk | contribs)
Copy edit and move sections
Sdht0 (talk | contribs)
Installation: Use template
Line 3: Line 3:
== Installation ==
== Installation ==


To use KDE Plasma, add this to your configuration.nix:
=== Plasma 5 ===


<syntaxhighlight lang="nix">
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.xserver.enable = true;
{
services.xserver.displayManager.sddm.enable = true;
  services.xserver.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
  services.xserver.displayManager.sddm.enable = true;
</syntaxhighlight>Or if you want to use Plasma 6, available on nixpkgs-unstable:<syntaxhighlight lang="nix">
  services.xserver.desktopManager.plasma5.enable = true;
services.xserver.enable = true;
}
services.xserver.displayManager.sddm.enable = true;
</nowiki>}}
services.desktopManager.plasma6.enable = true;
 
</syntaxhighlight>
=== Plasma 6 ===
 
Available on the unstable channel.
 
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{
  services.xserver.enable = true;
  services.xserver.displayManager.sddm.enable = true;
  services.desktopManager.plasma6.enable = true;
}
</nowiki>}}


== Configuration ==
== Configuration ==