diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:25:52 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-10-31 01:25:52 +0100 |
commit | 74100e152b45a560b98b46a1737fe11e76b0ff3d (patch) | |
tree | b132366fb3ab6c4413025bd7906c30858bde1d7c /home-configuration.scm | |
parent | 1afb8500fe84f4b0875acd9ed56ea1f9288b9a1d (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 |