!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

194 Members
53 Servers

Load older messages


SenderMessageTime
13 Jan 2026
@k900:0upti.meK900They forked SDDM20:44:45
@k900:0upti.meK900 And it only supports X sessions 20:44:53
@emilazy:matrix.orgemily
    # 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
@emilazy:matrix.orgemily maybe ElvishJerricco knows for sure though 20:45:34
@emilazy:matrix.orgemilyfor example20:45:56
@emilazy:matrix.orgemily
    # 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
@emilazy:matrix.orgemilyI think you'll need to at least make it an alias or whatever20:46:28
@k900:0upti.meK900Ughhhhhhhhhhh20:46:31
@elvishjerricco:matrix.orgElvishJerriccough20:46:41
@elvishjerricco:matrix.orgElvishJerricco 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:0upti.meK900That is what p-l-m does and that is correct yes20:47:29
@emilazy:matrix.orgemilywell, this module can start the trend by aliasing :P20:47:34
@k900:0upti.meK900UNFORTUNATELY20:47:38
@elvishjerricco:matrix.orgElvishJerriccothis particular hack is, uh.... Not in line with that ideal :P20:47:47
@elvishjerricco:matrix.orgElvishJerriccobut it was convenient at the time20:47:53
@emilazy:matrix.orgemily as in it aliases to display-manager.service upstream? 20:48:08
@k900:0upti.meK900Yes20:48:12
@k900:0upti.meK900Which of course does not help this hack20:48:19
@emilazy:matrix.orgemilyok. not sure if there's a good way to declare that on the NixOS level I guess20:48:39
@elvishjerricco:matrix.orgElvishJerriccowe could just make that hack use its own enable flag and then have the display manager modules in nixos set that flag20:49:02
@emilazy:matrix.orgemilyI mean you could also just bodge this into the conditional there20:49:09
@elvishjerricco:matrix.orgElvishJerricco (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:0upti.meK900I am like 90% tempted to murder that entire setup with fire20:50:17
@emilazy:matrix.orgemilywe literally just put it that way20:50:29
@emilazy:matrix.orgemilyso you are going to have to find another way to accomplish the same end20:50:35
@emilazy:matrix.orgemilywhich is hard20:50:42
@elvishjerricco:matrix.orgElvishJerriccoI think he means the whole "one module does a big if then else if then else on all the display-managers" thing20:51:00
@elvishjerricco:matrix.orgElvishJerriccowhich, yes, was the part I was unwilling to deal with last time20:51:08
@emilazy:matrix.orgemilywon't really solve getty though20:51:18
@elvishjerricco:matrix.orgElvishJerriccotrue20:51:23

There are no newer messages yet.


Back to Room ListRoom Version: 9