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 | 3e72dcdf06526530e65061a56fecba662eed1079 (patch) | |
tree | 6ac3ac3b64c382843649f845bb5997d7c79a8029 /home-configuration.scm | |
parent | e905072624c92e9c33d96210dbbb8e1c61f265b4 (diff) |
Home configuration: break out reconfigure-home and reconfigure-home-
Diffstat (limited to 'home-configuration.scm')
-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")) |