vm: simplify with lightdm

This commit is contained in:
2024-03-01 10:35:33 +02:00
parent 7fb02ccd7c
commit e8b624eb0c
2 changed files with 3 additions and 21 deletions

View File

@@ -11,10 +11,6 @@ in {
type = str;
default = "motiejus";
};
configureDM = lib.mkOption {
type = bool;
default = true;
};
};
config = {
@@ -67,7 +63,7 @@ in {
desktopManager.xfce.enable = true;
windowManager.awesome.enable = true;
displayManager = lib.mkIf cfg.configureDM {
displayManager = {
lightdm.enable = true;
defaultSession = "none+awesome";
autoLogin = {