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

  imports = [
      ./base.nix
  ];
  users.users.makefu.packages = [ pkgs.chromium ];
  services.xserver = {
    layout = lib.mkForce "de";
    xkbVariant = lib.mkForce "";

    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 -display :0 s off -dpms
      xrandr --output HDMI2 --right-of HDMI1
    '';
  };
}