stockholm/makefu/2configs/gui/wbob-kiosk.nix

26 lines
561 B
Nix
Raw Normal View History

2018-01-29 13:45:26 +00:00
{ pkgs, lib, ... }:
2017-05-12 09:29:46 +00:00
{
imports = [
./base.nix
];
2018-01-29 13:45:26 +00:00
users.users.makefu.packages = [ pkgs.chromium ];
2017-05-12 09:29:46 +00:00
services.xserver = {
layout = lib.mkForce "de";
2018-01-29 13:45:26 +00:00
xkbVariant = lib.mkForce "";
2017-05-12 09:29:46 +00:00
windowManager = lib.mkForce {
awesome.enable = false;
default = "none";
};
desktopManager.xfce.enable = true;
# xrandrHeads = [ "HDMI1" "HDMI2" ];
# prevent screen from turning off, disable dpms
displayManager.sessionCommands = ''
2018-01-29 13:45:26 +00:00
xset -display :0 s off -dpms
2017-05-12 09:29:46 +00:00
xrandr --output HDMI2 --right-of HDMI1
'';
};
}