From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Gilio Subject: Package variation Date: Tue, 23 Oct 2018 01:51:21 -0500 Message-ID: <87pnw1p34m.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEqmt-0008Od-Pu for guix-devel@gnu.org; Tue, 23 Oct 2018 03:07:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEqXQ-0002ad-Ba for guix-devel@gnu.org; Tue, 23 Oct 2018 02:51:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49567) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gEqXQ-0002Ux-1E for guix-devel@gnu.org; Tue, 23 Oct 2018 02:51:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 595B5210B5 for ; Tue, 23 Oct 2018 08:51:25 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 42fPDr2Gt6z6tmH for ; Tue, 23 Oct 2018 08:51:24 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" 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