This commit is contained in:
Leon Liu 2023-11-05 07:41:56 +09:00
parent 89af8bf08e
commit 6b154300a7

View File

@ -125,6 +125,7 @@
# Enable automatic login for the user. # Enable automatic login for the user.
services.xserver.displayManager.autoLogin.enable = true; services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "liu"; services.xserver.displayManager.autoLogin.user = "liu";
services.jellyfin.enable = true;
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229 # Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false; systemd.services."getty@tty1".enable = false;