summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/gui/wbob-kiosk.nix
blob: 4b7a0c3332ac8c51593af0ca84b1dd603bf47295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, ... }:
{

  imports = [
      ./base.nix
  ];
  services.xserver = {
    layout = lib.mkForce "de";

    windowManager = lib.mkForce {
      awesome.enable = false;
      default = "none";
    };
    desktopManager.xfce.enable = true;

    # xrandrHeads = [ "HDMI1" "HDMI2" ];
    # prevent screen from turning off, disable dpms
    displayManager.sessionCommands = ''
      xset s off -dpms
      xrandr --output HDMI2 --right-of HDMI1
    '';
  };
}