diff options
-rw-r--r-- | home-configuration.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/home-configuration.scm b/home-configuration.scm index ea2b232..c1f092c 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -20,16 +20,23 @@ (define pull-guix- "pull-guix --allow-downgrades --disable-authentication") +(define reconfigure-home + (string-append "guix home reconfigure " + config-prefix + "home-configuration.scm")) + +(define reconfigure-home- + (string-append reconfigure-home + "--allow-downgrades")) + (define home-aliases `(("grep" . "grep --color=auto") ("ll" . "ls -l") ("ls" . "ls -p --color=auto") ("pull-guix" . ,pull-guix) ("pull-guix-" . ,pull-guix-) - ("reconfigure-home" . (string-append "guix home reconfigure " - ,config-prefix - "home-configuration.scm")) - ("reconfigure-home-" . "reconfigure-home --allow-downgrades") + ("reconfigure-home" . ,reconfigure-home) + ("reconfigure-home-" . ,reconfigure-home-) ("reconfigure-system" . (string-append "sudo guix system reconfigure " ,config-prefix "system-configuration.scm")) |