all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Package variation
@ 2018-10-23  6:51 Brett Gilio
  2018-10-23  7:33 ` Efraim Flashner
  2018-10-24 13:06 ` Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: Brett Gilio @ 2018-10-23  6:51 UTC (permalink / raw)
  To: Guix-devel

Hi all,

I am trying to customize my the default gnome-package which gets
installed with the gnome-desktop-service.

My strategy here has been to define a gnome-custom package in my
config.scm which inherits the gnome package, and remove the dependencies
that I do not use (such as gedit or nautilus).

However, I am not successful. Below is my config.scm, does anybody have
any ideas?

--

;; 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) (guix packages))
(use-service-modules desktop)
(use-package-modules certs gnome)

(define-public gnome-custom
  (package (inherit gnome)
    (name "gnome-custom")
    (inputs (alist-delete "nautilus" (package-inputs gnome)))))

(define %my-gnome
  (modify-services %desktop-services
		   (gnome-desktop-service-type config =>
					       (gnome-desktop-configuration
							      (gnome-package gnome-custom)))))

(operating-system
  (host-name "oryxpro")
  (timezone "America/Chicago")
  (locale "en_US.utf8")

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

  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  (users (cons (user-account
                (name "brettg")
                (comment "Brett Gilio")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/brettg"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
                   %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* (gnome-desktop-service)
                   %my-gnome))

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

--


-- 
Brett M. Gilio
Free Software Foundation, Member
https://gnu.org/s/guix | https://emacs.org

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

end of thread, other threads:[~2018-10-25  5:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-23  6:51 Package variation Brett Gilio
2018-10-23  7:33 ` Efraim Flashner
2018-10-23 18:04   ` Brett Gilio
2018-10-23 18:13     ` Efraim Flashner
2018-10-23 19:50       ` Brett Gilio
2018-10-24  2:33     ` Chris Marusich
2018-10-24  6:01       ` Brett Gilio
2018-10-25  5:35         ` Chris Marusich
2018-10-24 13:06 ` Ludovic Courtès
2018-10-24 21:02   ` Brett Gilio

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.