Lemurs DM doesn't work

Hey ! I’ve been trying to get lemurs to work on my nix machines but it doesn’t. Here is the relevant code snippet.

services.displayManager = {
   enable = true;
   execCmd = "${pkgs.lemurs}/bin/lemurs --no-log";
  defaultSession = "Hyprland";
};

The --no-log flag is there cause I was getting this error
Failed to open log file: '/var/log/lemurs.log'

The --preview mode works perfectly

2 Likes

Hi. Have you force it to work? I can’t…

but the pr is halted

Hi! Making my first post on discourse here lol

Anyways, so two things:

  1. The version of Lemurs that is in nixpkgs I think is just broken? That release (0.3.2) is pretty old and it includes hardcoded calls to /usr/bin/X etc. so regardless you’ll want to use the latest git version and adjust the config.toml to point to the correct nix paths.

  2. I had also been working on a module to be merged into the Lemurs repo, but I’d stalled working on it, and somewhere in my recent cleaning up (or adjusting my system config) it broke, so it will start lemurs just fine but it doesn’t want to log in anymore. It used to work fine but now it doesn’t. Everything else works though. I haven’t tried StunkyMonkey’s module yet from that PR, so I’m not sure how it compares.

Here’s the link to my fork with the latest code, if someone wants to try and figure out what’s wrong, or see if it works on their system, be my guest, I am probably going to continue to poke at it as well, I’ve been wanting to try and get it working again and merged, potentially into nixpkgs. A note, in my cleanup I recently removed the overlay option from the module itself, so you’ll have to add the flake’s default overlay in your config in order for it to work properly.

Also, most of the tracking of the progress of the module had been happening in this issue, so I’ll link that here as well for posterity: