xserver-lass: use mainUser
This commit is contained in:
parent
2b9391b557
commit
d82c51177f
|
@ -1,8 +1,11 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
mainUser = config.users.extraUsers.mainUser;
|
||||||
|
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../tv/xserver.nix
|
../tv/xserver.nix
|
||||||
];
|
];
|
||||||
services.xserver.displayManager.auto.user = "lass";
|
services.xserver.displayManager.auto.user = mainUser.name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue