From 74100e152b45a560b98b46a1737fe11e76b0ff3d Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Mon, 31 Oct 2022 01:25:52 +0100 Subject: Home configuration: break out system-update system-update- --- home-configuration.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/home-configuration.scm b/home-configuration.scm index c1f092c..7a0a102 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -29,6 +29,12 @@ (string-append reconfigure-home "--allow-downgrades")) +(define system-update + "pull-guix && reconfigure-system && reconfigure-home") + +(define system-update- + "pull-guix- && reconfigure-system- && reconfigure-home-") + (define home-aliases `(("grep" . "grep --color=auto") ("ll" . "ls -l") @@ -41,8 +47,8 @@ ,config-prefix "system-configuration.scm")) ("reconfigure-system-" . "reconfigure-system --allow-downgrades") - ("system-update" . "pull-guix && reconfigure-system && reconfigure-home") - ("system-update-" . "pull-guix- && reconfigure-system- && reconfigure-home-"))) + ("system-update" . ,system-update) + ("system-update-" . ,system-update-))) (define bash-profile-target (string-append config-prefix -- cgit v1.2.3