ma wbob-kiosk: provide chromium

This commit is contained in:
makefu 2018-01-29 14:45:26 +01:00
parent 32c800ec3f
commit 3ba905f2b0
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,11 +1,13 @@
{ lib, ... }: { pkgs, lib, ... }:
{ {
imports = [ imports = [
./base.nix ./base.nix
]; ];
users.users.makefu.packages = [ pkgs.chromium ];
services.xserver = { services.xserver = {
layout = lib.mkForce "de"; layout = lib.mkForce "de";
xkbVariant = lib.mkForce "";
windowManager = lib.mkForce { windowManager = lib.mkForce {
awesome.enable = false; awesome.enable = false;
@ -16,7 +18,7 @@
# xrandrHeads = [ "HDMI1" "HDMI2" ]; # xrandrHeads = [ "HDMI1" "HDMI2" ];
# prevent screen from turning off, disable dpms # prevent screen from turning off, disable dpms
displayManager.sessionCommands = '' displayManager.sessionCommands = ''
xset s off -dpms xset -display :0 s off -dpms
xrandr --output HDMI2 --right-of HDMI1 xrandr --output HDMI2 --right-of HDMI1
''; '';
}; };