From d82c51177f8865b2911dc8aa05ddcff5cdf344ae Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 12 Apr 2015 20:32:07 +0200 Subject: xserver-lass: use mainUser --- modules/lass/xserver-lass.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/lass/xserver-lass.nix') diff --git a/modules/lass/xserver-lass.nix b/modules/lass/xserver-lass.nix index 62f711505..286236128 100644 --- a/modules/lass/xserver-lass.nix +++ b/modules/lass/xserver-lass.nix @@ -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; } -- cgit v1.2.3