summaryrefslogtreecommitdiff
path: root/deployment/system/aisaka.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2026-12-01 22:13:43 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2026-12-01 22:50:10 +0100
commit5b1b42e3ee88e408d0e3d7bfcb26ae9cbc23992e (patch)
tree6214e83ec795a2d9bc9acee1c18e1c033d8a3f14 /deployment/system/aisaka.scm
parent6f5539290c9acad39d55cc31c59ba807cd32aa3d (diff)
(deployment services admin): rework bash aliases into standalone commandsHEADmaster
* 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.
Diffstat (limited to 'deployment/system/aisaka.scm')
0 files changed, 0 insertions, 0 deletions