summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 01:25:52 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 01:25:52 +0100
commit9c5b8feee18ff130900dbefb21cbf2e2206fcc2b (patch)
tree76d05e796377a00d130f6a9c2c60f8c7ea608949 /home-configuration.scm
parenta632abbeeab71bef63c760c216fc176d4f27d4be (diff)
Home configuration: break out system-update system-update-
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm10
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