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, self,
modulesPath, modulesPath,
pkgs, pkgs,
@ -39,8 +40,11 @@
services = { services = {
getty.autologinUser = "nixos"; getty.autologinUser = "nixos";
xserver.autorun = false;
autorandr.enable = true; autorandr.enable = true;
xserver = {
autorun = false;
displayManager.defaultSession = lib.mkForce "xfce";
};
}; };
security.pam.services.lightdm.text = '' security.pam.services.lightdm.text = ''

View File

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