diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:20:41 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:20:41 +0100 |
commit | a632abbeeab71bef63c760c216fc176d4f27d4be (patch) | |
tree | 6ac3ac3b64c382843649f845bb5997d7c79a8029 | |
parent | c2d709ed855d1b545bb57fef6bb58687b608d892 (diff) |
Home configuration: break out reconfigure-home and reconfigure-home-
-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")) |