| 13 Jan 2026 |
K900 | They forked SDDM | 20:44:45 |
K900 | And it only supports X sessions | 20:44:53 |
emily | # don't install generic nixos display manager unit
systemd.services.display-manager.enable = false;
I don't think this is safe because we rely on conflicts/ordering stuff with it
| 20:45:29 |
emily | maybe ElvishJerricco knows for sure though | 20:45:34 |
emily | for example | 20:45:56 |
emily | # We can't just rely on 'Conflicts=autovt@tty1.service' because
# 'switch-to-configuration switch' will start 'autovt@tty1.service'
# and kill the display manager.
systemd.targets.getty.wants =
lib.mkIf (!(config.systemd.services.display-manager.enable or false))
[
"autovt@tty1.service"
];
| 20:45:58 |
emily | I think you'll need to at least make it an alias or whatever | 20:46:28 |
K900 | Ughhhhhhhhhhh | 20:46:31 |
ElvishJerricco | ugh | 20:46:41 |
ElvishJerricco | ideally, the way that would work is that every display manager would provide their own service and alias themselves as display-manager.service and display-manager.service wouldn't actually exist | 20:47:04 |
K900 | That is what p-l-m does and that is correct yes | 20:47:29 |
emily | well, this module can start the trend by aliasing :P | 20:47:34 |
K900 | UNFORTUNATELY | 20:47:38 |
ElvishJerricco | this particular hack is, uh.... Not in line with that ideal :P | 20:47:47 |
ElvishJerricco | but it was convenient at the time | 20:47:53 |
emily | as in it aliases to display-manager.service upstream? | 20:48:08 |
K900 | Yes | 20:48:12 |
K900 | Which of course does not help this hack | 20:48:19 |
emily | ok. not sure if there's a good way to declare that on the NixOS level I guess | 20:48:39 |
ElvishJerricco | we could just make that hack use its own enable flag and then have the display manager modules in nixos set that flag | 20:49:02 |
emily | I mean you could also just bodge this into the conditional there | 20:49:09 |
ElvishJerricco | (I still contend that Conflicts=getty@tty1.service is the way to actually disable the getty on that tty, but I need to make stc less insane for that to work) | 20:50:11 |
K900 | I am like 90% tempted to murder that entire setup with fire | 20:50:17 |
emily | we literally just put it that way | 20:50:29 |
emily | so you are going to have to find another way to accomplish the same end | 20:50:35 |
emily | which is hard | 20:50:42 |
ElvishJerricco | I think he means the whole "one module does a big if then else if then else on all the display-managers" thing | 20:51:00 |
ElvishJerricco | which, yes, was the part I was unwilling to deal with last time | 20:51:08 |
emily | won't really solve getty though | 20:51:18 |
ElvishJerricco | true | 20:51:23 |