diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:25:52 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:25:52 +0100 |
commit | 9c5b8feee18ff130900dbefb21cbf2e2206fcc2b (patch) | |
tree | 76d05e796377a00d130f6a9c2c60f8c7ea608949 /home-configuration.scm | |
parent | a632abbeeab71bef63c760c216fc176d4f27d4be (diff) |
Home configuration: break out system-update system-update-
Diffstat (limited to 'home-configuration.scm')
-rw-r--r-- | home-configuration.scm | 10 |
1 files 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 |