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 | 76c970ffff770a5fcb199d2604ded44cc8ee5078 (patch) | |
tree | 5096b122a11275a883044bf7d0a792dfdd14489b | |
parent | e83520fb5cde696505aa860e326ff6612c299920 (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.scm | 4 |
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" |