summaryrefslogtreecommitdiff
path: root/suweren
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-06-17 12:00:43 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-06-17 12:00:43 +0200
commit6edbec55c8ce28f3799f0a2fce4d960c300f2d37 (patch)
tree1da1802a16f5200b843776e219e795f63c33da3b /suweren
parent72cad8294cf2a4ecab25940bab1b702d46a6689e (diff)
abstract away host and user name from the update aliases
Diffstat (limited to 'suweren')
-rw-r--r--suweren/update.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/suweren/update.scm b/suweren/update.scm
index edaa6d8..7c1ec35 100644
--- a/suweren/update.scm
+++ b/suweren/update.scm
@@ -9,10 +9,10 @@
(pull-guix "guix pull ")
(reconfigure-home (string-append "guix home delete-generations 7d ; "
"guix home reconfigure -e "
- "'(@ (users marekpasnikowski) home)' "))
+ "'(@ (users $USER) home)' "))
(reconfigure-system (string-append "sudo guix system delete-generations 7d ; "
"sudo guix system reconfigure -e "
- "'(@ (systems ayase system-configuration) ayase)' "))
+ "'(@ (systems $HOSTNAME system-configuration) $HOSTNAME)' "))
(reupdate-system (string-append pull-guix
allow-downgrades