summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-09-26 17:01:46 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-09-26 17:01:46 +0200
commitc00adbad47bf4518e01a5620bb2d1d149abc97f6 (patch)
tree5096b122a11275a883044bf7d0a792dfdd14489b
parentd240c6d71f2a1a24d27fc4e491a4e0bc12a1e8ac (diff)
Guix Home: add aliases for guix reconfigure commands
This change replaces the lengthy invocations of the guix reconfiguration tools with simpler symbols. * Define the guix home reconfigure variant * Define the guix system reconfigure variant
-rw-r--r--home-configuration.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 5db40b8..eecb36c 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -33,7 +33,9 @@
("GUILE_AUTO_COMPILE" . "0")))
(aliases '(("grep" . "grep --color=auto")
("ll" . "ls -l")
- ("ls" . "ls -p --color=auto")))
+ ("ls" . "ls -p --color=auto")
+ ("reconfigure-home" . "guix home reconfigure ~/src/guix-config/home-configuration.scm")
+ ("reconfigure-system" . "sudo guix system reconfigure ~/src/guix-config/system-configuration.scm")))
(bash-profile (list (local-file "/home/marek/src/guix-config/.bash_profile"
"bash_profile")))
(bashrc (list (local-file "/home/marek/src/guix-config/.bashrc"