summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-04-12 20:32:07 +0200
committertv <tv@shackspace.de>2015-05-19 23:17:19 +0200
commitd82c51177f8865b2911dc8aa05ddcff5cdf344ae (patch)
tree35bfaeabfd0fce798598b3f3ebf64d8b9b70fb92
parent2b9391b5578d245132275055dab6bf304349ac84 (diff)
xserver-lass: use mainUser
-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;
}