diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 11:17:09 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-01-14 11:17:09 +0100 |
commit | 61b60fbc778ba1fa9dd9eab2690f0a8f6d5a053f (patch) | |
tree | f5dc49f3e5d7e808d507e970d9766f69fdfa8533 | |
parent | 2e3bc5cc7ec59e8086b5ded480823c944115bcd6 (diff) |
Add more aliases to Guix administration commands
-rw-r--r-- | home-configuration.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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"))) |