From 5b1b42e3ee88e408d0e3d7bfcb26ae9cbc23992e Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Tue, 1 Dec 2026 22:13:43 +0100 Subject: (deployment services admin): rework bash aliases into standalone commands * Rename export update-commands to bash-aliases_service-record and the service to 'bash-aliases. * Drop the "guix", "guix-test", "pull-down", "reconfigure-down" and "sudo" aliases and the (deployment channels) import. * Rename "pull" to "pull-guix" and "reconfigure" to "reconfigure-system". * Bind "collect-garbage", "delete-generations" and the renamed aliases to full command lines with "sudo guix" embedded, replacing bare fragments expanded after the "guix" and "sudo" aliases. * Factor the twice-hardcoded "7d" into retention-duration_string, validated at build time with string->duration. * Replace $HOSTNAME with a ${HOSTNAME:?HOSTNAME is not set} guard and wrap the reconfigure-system and upgrade-system values in literal-string, deferring expansion from .bashrc load to invocation. * Add the upgrade-system alias, chaining pull, reconfigure, delete-generations and gc with "&&". * Add a rationale comment above each definition. --- users/id1000.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/id1000.scm') diff --git a/users/id1000.scm b/users/id1000.scm index d21bd5d..7555a91 100644 --- a/users/id1000.scm +++ b/users/id1000.scm @@ -281,7 +281,7 @@ (packages (cons* gnu:packages:version-control:git gnu:packages:disk:gparted sovereign:systems:common-home-environment-packages)) - (services (cons* deployment:services:admin:update-commands + (services (cons* deployment:services:admin:bash-aliases_service-record l-home-dbus-service l-home-pipewire-service l-home-shepherd-service -- cgit v1.3