NoDM: disable by default if greetd is enabled
This commit is contained in:
parent
b7ec0ac354
commit
b3ea104e1c
@ -24,7 +24,10 @@ in
|
|||||||
description = "Whether to automatically start a desktop session on TTY1, behaving like a rudimentary display manager.";
|
description = "Whether to automatically start a desktop session on TTY1, behaving like a rudimentary display manager.";
|
||||||
default = osConfig ? systemd
|
default = osConfig ? systemd
|
||||||
&& config.nixfiles.meta.graphical
|
&& config.nixfiles.meta.graphical
|
||||||
&& (!(osConfig.systemd.services.display-manager.enable or false));
|
&& (!(
|
||||||
|
(osConfig.systemd.services.display-manager.enable or false)
|
||||||
|
&& (osConfig.systemd.services.greetd.enable or false)
|
||||||
|
));
|
||||||
example = true;
|
example = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user