mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-30 04:05:26 +01:00
798aa35edf
This enables plasma to be used as both a specialization and as a desktop environment in a virtual machine.
21 lines
576 B
Nix
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;
|
|
}
|