nix-config/modules/plasma.nix
Donovan Glover 798aa35edf
meta: Use separate module for plasma
This enables plasma to be used as both a specialization and as a desktop
environment in a virtual machine.
2023-06-17 22:23:25 -04:00

21 lines
576 B
Nix

{ pkgs, lib, ... }:
{
services.xserver = {
enable = true;
displayManager.lightdm.enable = false;
excludePackages = [ pkgs.xterm ];
};
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "user";
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
programs.hyprland.enable = lib.mkForce false;
services.greetd.enable = lib.mkForce false;
}