xserver-lass: use mainUser

This commit is contained in:
lassulus 2015-04-12 20:32:07 +02:00 committed by tv
parent 2b9391b557
commit d82c51177f

View file

@ -1,8 +1,11 @@
{ config, pkgs, ... }:
{
let
mainUser = config.users.extraUsers.mainUser;
in {
imports = [
../tv/xserver.nix
];
services.xserver.displayManager.auto.user = "lass";
services.xserver.displayManager.auto.user = mainUser.name;
}