unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* LXDE desktop in config.scm
@ 2018-09-18 16:58 znavko
  2018-09-18 21:48 ` Leo Famulari
  0 siblings, 1 reply; 6+ messages in thread
From: znavko @ 2018-09-18 16:58 UTC (permalink / raw)
  To: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2983 bytes --]

Hello! GuixSD is nice for offers to users to have own software sets in one machine. I work with Guix and need more examples on how to write system config.
Please, help me to  write config.scm to use LXDE desktop with Xfce.
Here are presented only xfce-desktop-service, gnome-desktop-service, mate-desktop-service, but no lxde.
So here https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/lxde.scm only mentioned packages, but no services.
I could only add (use-modules (gnu packages lxde)) but lxde did not appeared in login screen. Pressing F1 gives nothing.
Here I could not understand https://www.gnu.org/software/guix/manual/en/html_node/System-Configuration.html#System-Configuration
Please, how to set up lxde with xfce and make lxde default? Where can I read about this?

#cat /etc/config.scm
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu)
             (gnu system nss)
             (gnu packages lxde)
             (gnu packages gnuzilla)
)
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
  (host-name "antelope")
  (timezone "Europe/Moscow")
  (locale "en_US.utf8")

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  ;(mapped-devices
  ; (list (mapped-device
  ;        (source (uuid "12345678-1234-1234-1234-hash888abc"))
  ;        (target "my-root")
  ;        (type luks-device-mapping))))

  (file-systems (cons (file-system
                        (device "/dev/sda1")
                        (mount-point "/")
                        (type "ext4")
                        )
                      %base-file-systems))
  (swap-devices '("/dev/sda2"))

  (users (cons (user-account
                (name "bob")
                (comment "bob is good too")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/bob"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
                   gedit
                   icecat
                   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.
  (services (cons* (xfce-desktop-service)
                   %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

[-- Attachment #2: Type: text/html, Size: 5695 bytes --]

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

end of thread, other threads:[~2018-09-23 16:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18 16:58 LXDE desktop in config.scm znavko
2018-09-18 21:48 ` Leo Famulari
2018-09-19  8:06   ` Nils Gillmann
2018-09-19  8:37   ` Nils Gillmann
2018-09-19 20:54   ` znavko
2018-09-23 16:26     ` Nils Gillmann

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