From: yasu <yasu@yasuaki.com>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Working Configuration for Wayland Auto-Login?
Date: Sat, 26 Dec 2020 10:30:24 +0900 [thread overview]
Message-ID: <32356bced980c90ed28bde5469d2840fc58e0a20.camel@yasuaki.com> (raw)
Hi!
Does anyone have a working example configuration that enables Wayland
Auto-Login?
I tried to use:
(auto-login-user "yasu")
(auto-login-session "gnome.desktop")
by guessing from the description at:
https://guix.gnu.org/manual/en/html_node/X-Window.html
But whenever I added those below the remember-last-user? line at:
(service sddm-service-type
(sddm-configuration
(display-server "wayland")
(remember-last-user? #t)
))
The session changed to X11, and was not Wayland anymore.
I have just noticed that Wayalnd is way faster than X11 for my terminal
program Kitty. The mouse cursor seems much smoother as well.
Let me paste my system description at the bottom.
Cheers,
Yasu
~$ guix system describe
Generation 5664 Dec 26 2020 09:55:34 (current)
file name: /var/guix/profiles/system-5664-link
canonical file name: /gnu/store/yxyrcf7vwlvkmi8y3znwcpas8gflqw1k-
system
label: GNU with Linux 5.9.16
bootloader: grub-efi
root device: label: "my-root"
kernel: /gnu/store/vniw1mkx65g3hv6y371m88lvhg588yap-linux-
5.9.16/bzImage
channels:
guix:
repository URL: https://github.com/guix-mirror/guix.git
branch: master
commit: 9302c28cbccbb245410224a3e860f7d2ef55d29d
nonguix:
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: 89d954d7bad819cb0ce0a42aed2a3f731622f5d1
guix-chromium:
repository URL: https://gitlab.com/mbakke/guix-chromium.git
branch: master
commit: 2de450b92e5f2624d4f964407686934e22239f7b
configuration file: /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw-
configuration.scm
~$ cat /gnu/store/i206zp7v0nyjmj0bc6pvcspxdwq2x5gw-configuration.scm
(use-modules
(gnu)
(gnu system nss)
(gnu services sddm)
(srfi srfi-1)
(nongnu packages linux)
(nongnu system linux-initrd)
)
(use-service-modules desktop xorg)
(use-package-modules certs gnome)
(operating-system
(kernel linux)
(initrd microcode-initrd)
(firmware (list linux-firmware))
(host-name "guix")
(timezone "Asia/Tokyo")
(locale "en_US.utf8")
(sudoers-file
(plain-file "sudoers"
(string-append (plain-file-content %sudoers-
specification)
"yasu ALL = NOPASSWD: ALL\n")))
(keyboard-layout (keyboard-layout "us"))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(keyboard-layout keyboard-layout)))
(file-systems (append
(list (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4")
)
(file-system
(device (uuid "C2D0-0B91" 'fat))
(mount-point "/boot/efi")
(type "vfat")))
%base-file-systems))
(swap-devices (list "/dev/nvme0n1p3"))
(users (cons (user-account
(name "yasu")
(comment "yasu")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video")))
%base-user-accounts))
(packages (append (list
;; for HTTPS access
nss-certs
;; for user mounts
gvfs)
%base-packages))
(services (cons*
(service gnome-desktop-service-type)
(service sddm-service-type
(sddm-configuration
(display-server "wayland")
(remember-last-user? #t)
))
(modify-services
(remove (lambda (service)
(member (service-kind service)
(list gdm-service-type)))
%desktop-services) ;end of remove lambda
services
) ;;end of modify-services
)) ;;end of services
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next reply other threads:[~2020-12-26 1:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-26 1:30 yasu [this message]
2020-12-26 21:10 ` Working Configuration for Wayland Auto-Login? Joshua Branson
2020-12-26 21:27 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32356bced980c90ed28bde5469d2840fc58e0a20.camel@yasuaki.com \
--to=yasu@yasuaki.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).