From: Rodrigo Morales <me@rodrigomorales.site>
To: <help-guix@gnu.org>
Subject: How to disable gnome-display manager?
Date: Fri, 19 Jan 2024 18:25:01 -0500 [thread overview]
Message-ID: <878r4kucs2.fsf@rodrigomorales.site> (raw)
I want to remove gdm-service-type from %desktop-services because I don't
know how to make gmd-service-type use Sway, so I'd rather launch sway
manually after logging in with my user.
#+BEGIN_SRC scheme
(use-modules
(gnu)
(gnu services ssh)
(gnu services avahi)
(gnu services shepherd)
(gnu services xorg)
(gnu services desktop)
(gnu packages certs)
(nongnu packages linux))
(define %my-services
(modify-services
%desktop-services
(delete gdm-service-type)
(guix-service-type
config =>
(guix-configuration
(inherit config)
(discover? #t)
(substitute-urls
(append
(list "https://substitutes.nonguix.org")
%default-substitute-urls))
(authorized-keys
(append
(list
(local-file "./public-keys/nonguix.pub")
(local-file "./public-keys/delta.pub"))
%default-authorized-guix-keys))))))
(operating-system
(host-name "sony")
(locale "en_US.utf8")
(timezone "America/Lima")
(keyboard-layout (keyboard-layout "us"))
(kernel linux-6.6)
(kernel-arguments
'("nouveau.config=NvGrUseFW=1"))
(firmware (list linux-firmware))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(targets '("/boot/efi"))))
(file-systems
(cons*
(file-system
(device (file-system-label "my-efi"))
(mount-point "/boot/efi")
(type "vfat"))
(file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
(file-system
(device (uuid "76a9f2d6-5e14-4fc5-af08-cb166b5a4bc4"))
(mount-point "/storage/a")
(type "ext4"))
(file-system
(device (uuid "a7d0367c-bf06-4d4d-a754-d72bb0bc084d"))
(mount-point "/storage/b")
(type "ext4"))
(file-system
(device (uuid "8f961e79-4a1f-4432-bafc-b03a5cf70678"))
(mount-point "/storage/c")
(type "ext4"))
(file-system
(device (uuid "571f2acd-1240-44b3-8c65-574b18b5977b"))
(mount-point "/storage/d")
(type "ext4"))
%base-file-systems))
(users
(cons
(user-account
(name "rdrg")
(comment "This is a comment for user rdrg")
(group "users")
(supplementary-groups
'(;; Make the user a sudoer
"wheel"
"audio"
"video")))
%base-user-accounts))
(packages
(cons*
nss-certs
%base-packages))
(services
(append
(list
(service openssh-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%my-services)))
#+END_SRC
The reason I want to remove gdm-service-type from %desktop-services is
because whenever I boot my system, my system switches to tty7 and GNOME
Display manager is shown. After logging in in EXWM Display Manager, EXWM
is started. I don't want EXWM to be started, because I want to use Sway.
I have two questions:
1. How to avoid the automatic visit to tty7 and the execution of GNOME
Display manager?
2. I wouldn't need to answer the first question if I could make GNOME
Display Manager to use Sway (currently, it only uses EXWM and I don't
see a button to change the window manager from EXWM to Sway)
next reply other threads:[~2024-01-20 0:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-19 23:25 Rodrigo Morales [this message]
2024-01-20 1:46 ` How to disable gnome-display manager? Ian Eure
2024-01-21 7:00 ` Marek Paśnikowski
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=878r4kucs2.fsf@rodrigomorales.site \
--to=me@rodrigomorales.site \
--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).