Although 24.05 is not yet officially released, I’m beta testing the upgrade, and in contrast to previous years, it seems to be less flawless.
I will post the things I’ve noticed here, to see if these are known/reproducable issues and of course to find solutions/workarounds.
Display manager/auto login not working
update: has to do with kanidm, see next post
context: I use emacs+EXWM managed by home-manager.
services.displayManager = {
defaultSession = "none+icewm";
autoLogin.enable = true;
autoLogin.user = "kvtb";
};
services.xserver = {
enable = true;
windowManager.icewm.enable = true;
displayManager.lightdm.enable = true;
displayManager.lightdm.greeter.enable = false;
};
I have lightdm autologin enabled, but upon boot I get the regular tty where I need to login manually.
manually starting the display-manager.service unit does not work and journalctl gives no additional information other than ‘Main process exited’
The only way to get X working, is to first run
$ sudo /nix/store/awvhpsfj6l3yrw0i4bgffrvv99xg6pjx-unit-script-display-manager-start/bin/display-manager-start
This will start a broken X session (e.g dbus not working, systemctl --user units not working)
Only then I can do
sudo systemctl restart display-manager.service
and stuff works.
add flake path to NIX_PATH
moved to separate topic 24.05: Add flake to NIX_PATH
invidious db role not upgraded
from the release notes:
services.invidious.settings.db.user, the default database username has changed from kemal to invidious. Setups involving an externally-provisioned database (i.e. services.invidious.database.createLocally == false) should adjust their configuration accordingly. The old kemal user will not be removed automatically even when the database is provisioned automatically.(#265857).
In my case, my invidious config is really straight forward (no custom settings related to database):
services.invidious = {
enable = true;
nginx.enable = true;
port = 12345;
domain = "invidious.kvtb.net";
settings = {
registration_enabled = false;
login_enabled = false;
captcha_enabled = false;
log_level = "warn";
use_innertube_for_captions = true;
default_user_preferences = {
quality = "dash";
related_videos = false;
local = true;
};
};
};
Out of the box, when keeping stateVersion at 23.11, existing invidious config will not work, (activation fails), I needed to manually delete the postgres db for invidious using the dropdb command.
It could be that this was needed because while using 23.11 I pinned invidious to a later version? I cannot test anymore. Anyway, invidious users be aware.
I will continue testing 24.05 on my laptop, but these are the most imported things I noticed in the past hours.