Hi again, in my config.scm if I add this part
(guix-service-type > config => (guix-configuration > (inherit config)> (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))
at the end of my guix-service-types, it seems to me there I have to make 4 brackets: Or am I wrong? My config.scm: ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-package-modules cups scanner) (use-service-modules cups desktop networking ssh xorg) (operating-system (locale "de_DE.utf8") (timezone "Europe/Berlin") (keyboard-layout (keyboard-layout "de")) (host-name "Tuxedo") (users (cons* (user-account (name "gfp") (comment "Gfp") (group "users") (home-directory "/home/gfp") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list (specification->package "nss-certs")) %base-packages)) (services (append (list (service mate-desktop-service-type) (service enlightenment-desktop-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list cups-filters hplip)))) (service openssh-service-type) (service tor-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) (modify-services %desktop-services (sane-service-type _ => sane-backends)))) (guix-service-type config => (guix-configuration (inherit config)(extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))
(bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi") (keyboard-layout keyboard-layout))) (swap-devices (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0"))) (file-systems (cons* (file-system (mount-point "/boot/efi") (device (uuid "BB77-FE3B" 'fat32)) (type "vfat")) (file-system (mount-point "/") (device (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" 'ext4)) (type "ext4")) %base-file-systems))) Gottfried Am 25.07.22 um 17:20 schrieb Felix Lechner:
Hi, On Mon, Jul 25, 2022 at 2:52 AM Gottfried <gottfr...@posteo.de> wrote:The manual says that it is dangerous to use: "guix gc" because it can delete too much.I agree that 'guix gc' deletes too much, but it's probably not dangerous. You will just see some downloads and builds repeated when reconfiguring later. I believe 'guix gc' deletes items that are not garbage to me (but I am new to Guix). Based on friendly advice I received, I currently use these settings: (guix-service-type config => (guix-configuration (inherit config) (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes")) ... Kind regards Felix Lechner
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature