helloooooooo everybody. im new to linux, new to nixos!! its terrific., really…
anyway, so im learning new things everyday. tinkering with stuff here and there…
and so ive stumbled upon an issue where ly
, the TUI login thingie, seem to not have a working services.displayManager.ly.settings
option, to be exact - it DOES merge text with the /etc/ly/config.ini
, but while doing so it completely ruins all sessions (they disappear), and on top of that the settings that it appended dont work either. i was expecting my little (built-in) animations and clock to work…
services.displayManager.ly = {
enable = true;
settings = {
animate = true;
animation = "cmatrix";
hide_borders = true;
clock = "%c";
bigclock = true;
hide_f1_commands = true;
};
};
i am on Warbler - the unstable branch, no home manager, but using flakes (unrelated i think). yes, this thing does compile no bother, at least since the last time i commented it out. um…
i dont really know what else to add. it just completely ruins the system. my guess is, and im not an expert at all, that ly
could be broken at the moment - it was included just about a couple months ago, is it not?
for the time being, i have commented settings
out… sadge.
thank you very much for any information on this in advance!
i would also like to add (sorry, no edit button!) that if you do try this and end up with just a shell
and xinitrc
sessions, do not login into shell from there. when that happens, tty2 which it is occupying by default, is not functional (e.g. unable to elevate privileges because the password prompt is not reacting to anything!). so use tty1 instead!
as the problem is currently being investigated / fixed i have since also tried tuigreet
, which is a part of greetd
, written in rust <3
here is my minimal config (thanks to sjcobb2022 for the kernel log anti-spam solution):
services.xserver.displayManager.startx.enable = true; # optional xinit/startx
services.greetd = {
enable = true; # also enable UWSM!
# vt = 1; # tty -- default 1
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet -t -r --remember-session";
user = "greeter"; # NOT a username
};
};
};
# optional below
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal"; # anti-spam
TTYReset = true; # anti-spam
TTYVHangup = true; # anti-spam
TTYVTDisallocate = true; # anti-spam
};
it also helped me with the broken hyprland’s UWSM (proper systemd) which i couldnt use with ly
(cos it “works poorly”), so at the moment - this is the thing that does the thing right!
P.S. it seems taht there are no animations (duh, i mean the fire or cmatrix!) …but you can change colours!
P.P.S. i found another tui login manager!!! called lemurs
. im going to try it just for practice 