summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:09 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-01-14 11:17:09 +0100
commit0e2c0ad67208224f1b141543c10f0ef73e8e2f69 (patch)
tree76d05e796377a00d130f6a9c2c60f8c7ea608949 /home-configuration.scm
parent3e72dcdf06526530e65061a56fecba662eed1079 (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