Hi Andreas,
On Mon, Jun 8, 2026, at 5:46 PM, Andreas Enge wrote:
> After also removing set-xorg-configuration,
> apparently GDM was gone for good, but I entered a boot loop:
> typed my password to unlock the disk, the Grub menu appeared, it started
> with the default entry, then the machine would reboot.
>
> Could this be linked to the new mechanism where one types the disk
> encryption password only once?
I doubt it (I think we would have gotten bug reports about it--and it's written
in a way it catches exceptions and there falls back to redundant manual
passphrase entry)--but you can try reverting guix commit
b90597b98d46767207a0e92a84fb39c344472b69 locally (or reconfigure a guix system
via guix time-machine before Sun Feb 8 21:50:42 2026).
I find it extremely worrying that it boot loops. I am not sure how that can
happen. Who even restarts the system? Does it make it to the Linux kernel? Do
you get a Linux kernel message that it decrypted the disk? Does that mean later
PID 1 shepherd crashes? Can't think of many things that would cause it to
restart in the first place.
I also use an encrypted root (and no other disk partitions) and it works fine,
also with recent guix system.
dannym@nova ~$ guix system describe
Generation 326 Jun 01 2026 15:13:40 (current)
file name: /var/guix/profiles/system-326-link
canonical file name: /gnu/store/2irh58xy2pq8p26ahz0mv94c1q73jzm0-system
label: GNU with Linux 7.0.10
bootloader: grub-efi
root device: /dev/mapper/nova-root
kernel: /gnu/store/3h3pf9xxfpckw9s1a09i76lbjg6av3nm-linux-7.0.10/bzImage
channels:
guix:
repository URL: https://git.guix.gnu.org/guix.git
branch: master
commit: 37d9bd6420009557993717b956bacdff0013803f
Nowadays, a lot of desktop things require elogind. You have %desktop-services,
right? That includes elogind.
For what it's worth, I am using the following for many months now (though I use
Wayland sessions; but that doesn't matter) and can recommend it.
(service greetd-service-type
(greetd-configuration
(greeter-supplementary-groups (list "video" "input"))
(terminals
(list
(greetd-terminal-configuration
(terminal-switch #t)
(initial-session-user "dannym")
;; Assumption: Someone put /etc/skel/.xprofile and also a fallback
.xprofile into PATH. Otherwise, you MUST have a file ~/.xprofile in your user
home dir.
;; PATH best
/home/dannym/.guix-home/profile/bin:/home/dannym/.guix-home/profile/sbin:/home/dannym/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin
(initial-session-command
(greetd-user-session
(command (file-append (specification->package "bash")
"/bin/bash"))
;; Not using a package reference separates guix system update
cycle from my guix home update cycle.
(command-args '("-l" ".xprofile"))))
(default-session-command
(greetd-agreety-session
(command
(greetd-user-session
(command (file-append (specification->package "bash")
"/bin/bash"))
;; Not using a package reference separates guix system update
cycle from my guix home update cycle.
(command-args '("-l" ".xprofile")))))))))))
the "bash -l" starts a login shell which means each session also reads and
evaluates the ~/.profile first (for example the one set up by guix home) (and
then the ~/.xprofile because it's explicitly specified as command).
(In an ideal world the guix installer would eventually set up greetd as the
dummy login manager)
My ~/.xprofile contains:
[... 300 export XYZ= lines for Wayland settings for various programs and
libraries ... sigh]
exec sway
The funny part is:
dannym@nova ~$ w
00:18:59 up 1 day, 4:50, 0 user, load average: 5.56, 8.38, 10.17
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
dannym@nova ~$ loginctl
SESSION UID USER SEAT TTY STATE IDLE SINCE
c1 1000 dannym seat0 tty7 active no -
1 sessions listed.
Everything works fine, though.
> Luckily the Grub menu did appear, so I could boot into an older generation.
Yeah, this is the best feature ever.
Cheers,
Danny