vm: defaultSession is xfce4

This commit is contained in:
Motiejus Jakštys 2024-12-02 20:10:55 +02:00
parent 25955fc0aa
commit 88b88d88d8
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{
lib,
self,
modulesPath,
pkgs,
@ -39,8 +40,11 @@
services = {
getty.autologinUser = "nixos";
xserver.autorun = false;
autorandr.enable = true;
xserver = {
autorun = false;
displayManager.defaultSession = lib.mkForce "xfce";
};
};
security.pam.services.lightdm.text = ''

View File

@ -80,7 +80,7 @@ in
};
displayManager = {
defaultSession = "none+awesome";
defaultSession = lib.mkDefault "none+awesome";
autoLogin = {
enable = true;
user = username;