Hi Dariqq, Dariqq <dar...@posteo.net> skribis:
> Imo it would make sense to have the sbinless shepherd be the default > shepherd for home-shepherd s.t. the home environment never provides > shutdown/halt by default. Those are commands are for the system to take > care of (whether that is the shepherd coming from root-shepherd or the > init from the foreign system). I agree. > On my foreign distro setup i am currently using this (apologies if the > formatting turns out weird): > > (define shepherd-for-home > (package > (inherit shepherd) > (name "shepherd-for-home") > (source #f) > (build-system trivial-build-system) > (arguments > (list > #:modules '((guix build union) > (guix build utils)) > #:builder > #~(begin > (use-modules (guix build union) > (guix build utils)) > (union-build #$output > (list #$(this-package-input "shepherd")) > #:create-all-directories? #t) > (delete-file-recursively (string-append #$output "/sbin")) > (delete-file-recursively (string-append #$output > "/share/man/man8"))))) > (native-inputs '()) > (inputs (list shepherd)))) Perfect! Would you like to submit a patch adding this package (probably with the ‘hidden?’ property), followed by a patch making it the default for Home? Thanks, Ludo’.