unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Brett Gilio <brettg@posteo.net>
To: Guix-devel <guix-devel@gnu.org>
Subject: Package variation
Date: Tue, 23 Oct 2018 01:51:21 -0500	[thread overview]
Message-ID: <87pnw1p34m.fsf@posteo.net> (raw)

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

             reply	other threads:[~2018-10-23  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23  6:51 Brett Gilio [this message]
2018-10-23  7:33 ` Package variation 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

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=87pnw1p34m.fsf@posteo.net \
    --to=brettg@posteo.net \
    --cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox

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

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