summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-14 10:02:28 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-14 11:24:56 +0200
commitd947fd068dbc6c916746ed4d60c175e687fa16e2 (patch)
treef5dc49f3e5d7e808d507e970d9766f69fdfa8533 /home-configuration.scm
parent816964105b8f8b380fc969bee641512a07080b6a (diff)
Add more aliases to Guix administration commands
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm8
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")))