diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-14 10:02:28 +0200 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-14 11:24:56 +0200 |
commit | d947fd068dbc6c916746ed4d60c175e687fa16e2 (patch) | |
tree | f5dc49f3e5d7e808d507e970d9766f69fdfa8533 /home-configuration.scm | |
parent | 816964105b8f8b380fc969bee641512a07080b6a (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"))) |