summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/lass/xserver-lass.nix7
1 files changed, 5 insertions, 2 deletions
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;
}