nixos/lightdm: We now use a global lightdm.conf
This commit is contained in:
parent
23194559f3
commit
66bfdf6eb0
@ -97,10 +97,12 @@ in
|
|||||||
# lightdm relaunches itself via just `lightdm`, so needs to be on the PATH
|
# lightdm relaunches itself via just `lightdm`, so needs to be on the PATH
|
||||||
execCmd = ''
|
execCmd = ''
|
||||||
export PATH=${lightdm}/sbin:$PATH
|
export PATH=${lightdm}/sbin:$PATH
|
||||||
exec ${lightdm}/sbin/lightdm --log-dir=/var/log --run-dir=/run --config=${lightdmConf}
|
exec ${lightdm}/sbin/lightdm --log-dir=/var/log --run-dir=/run
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.etc."lightdm/lightdm.conf".source = lightdmConf;
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
services.dbus.packages = [ lightdm ];
|
services.dbus.packages = [ lightdm ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user