diff options
author | makefu <github@syntax-fehler.de> | 2021-03-12 20:27:16 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-03-12 20:27:21 +0100 |
commit | 806da70f35564c1fbc1f4f2a16c1c18cb729a5ff (patch) | |
tree | 4b8dd9eea22339739aeb7b900b634f1f8e83cbaa /makefu/2configs/gui | |
parent | ca13f21f885b608138779282013caf20ee92ddad (diff) |
ma wbob-kiosk: use gnome instead of xfce
Diffstat (limited to 'makefu/2configs/gui')
-rw-r--r-- | makefu/2configs/gui/wbob-kiosk.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/makefu/2configs/gui/wbob-kiosk.nix b/makefu/2configs/gui/wbob-kiosk.nix index 1a5e6d04f..2f6a26d82 100644 --- a/makefu/2configs/gui/wbob-kiosk.nix +++ b/makefu/2configs/gui/wbob-kiosk.nix @@ -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" ]; |