unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to disable gnome-display manager?
@ 2024-01-19 23:25 Rodrigo Morales
  2024-01-20  1:46 ` Ian Eure
  2024-01-21  7:00 ` Marek Paśnikowski
  0 siblings, 2 replies; 3+ messages in thread
From: Rodrigo Morales @ 2024-01-19 23:25 UTC (permalink / raw)
  To: help-guix


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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-21  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-19 23:25 How to disable gnome-display manager? Rodrigo Morales
2024-01-20  1:46 ` Ian Eure
2024-01-21  7:00 ` Marek Paśnikowski

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).