diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-14 10:02:28 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-10-14 10:02:28 +0200 |
commit | 961235bc873bc6d10e8aa6430b07fbbcf64ffed0 (patch) | |
tree | 1f1aadf2531b2da11ce02fd662dd0995c9cd230a /home-configuration.scm | |
parent | 55f782f29a672fb902acc9841fe976e1e0490e32 (diff) |
Add more aliases to Guix administration commands
Diffstat (limited to 'home-configuration.scm')
-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"))) |