ma wbob-kiosk: use gnome instead of xfce

This commit is contained in:
makefu 2021-03-12 20:27:16 +01:00
parent ca13f21f88
commit 806da70f35
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -10,13 +10,14 @@
};
services.xserver = {
windowManager = lib.mkForce {
awesome.enable = false;
};
desktopManager.xfce = {
windowManager = lib.mkForce { awesome.enable = false; };
displayManager.gdm.enable = true;
displayManager.autoLogin = {
enable = true;
user = "makefu";
};
displayManager.defaultSession = "xfce";
displayManager.defaultSession = "gnome";
desktopManager.gnome3.enable = true;
displayManager.sessionCommands = ''
${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms
${pkgs.xlibs.xrandr}/bin/xrandr --output HDMI2 --right-of HDMI1
@ -25,6 +26,10 @@
# prevent screen from turning off, disable dpms
};
environment.systemPackages = [ pkgs.gnomeExtensions.appindicator ];
services.dbus.packages = with pkgs; [ gnome2.GConf gnome3.gnome-settings-daemon ];
systemd.services.xset-off = {
after = [ "display-manager.service" ];
wantedBy = [ "multi-user.target" ];