[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Package variation
From: |
Brett Gilio |
Subject: |
Package variation |
Date: |
Tue, 23 Oct 2018 01:51:21 -0500 |
User-agent: |
mu4e 1.0; emacs 26.1 |
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
- Package variation,
Brett Gilio <=
Re: Package variation, Ludovic Courtès, 2018/10/24