From d947fd068dbc6c916746ed4d60c175e687fa16e2 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Fri, 14 Oct 2022 10:02:28 +0200 Subject: Add more aliases to Guix administration commands --- home-configuration.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/home-configuration.scm b/home-configuration.scm index 647bba5..fa3b350 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -34,12 +34,18 @@ (aliases `(("grep" . "grep --color=auto") ("ll" . "ls -l") ("ls" . "ls -p --color=auto") + ("pull-guix" . "guix pull") + ("pull-guix-" . "pull-guix --allow-downgrades --disable-authentication") ("reconfigure-home" . (string-append "guix home reconfigure " ,config-prefix "home-configuration.scm")) + ("reconfigure-home-" . "reconfigure-home --allow-downgrades") ("reconfigure-system" . (string-append "sudo guix system reconfigure " ,config-prefix - "system-configuration.scm")))) + "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-"))) (bash-profile `(,(local-file (string-append config-prefix ".bash_profile") "bash_profile"))) -- cgit v1.2.3