diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:55:00 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-10-31 01:55:00 +0100 |
commit | 3ef63008d54ad3c5ce996bd3b857c7d2b3387870 (patch) | |
tree | 468894da3c18d84fc7fb53616623d2a2cb1f7a1c /home-configuration.scm | |
parent | 354bc53bcc963d0d2d868f9f1699c81ab0859e68 (diff) |
Home configuration: break out allow-downgrades
Diffstat (limited to 'home-configuration.scm')
-rw-r--r-- | home-configuration.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/home-configuration.scm b/home-configuration.scm index ad4419e..f84c0da 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -14,11 +14,16 @@ ("NVM_DIR" . "$HOME/src/nvm") ("GUILE_AUTO_COMPILE" . "0"))) +(define allow-downgrades + "--allow-downgrades") + (define pull-guix "guix pull ") (define pull-guix- - "pull-guix --allow-downgrades --disable-authentication") + (string-append pull-guix + allow-downgrades + "--disable-authentication")) (define guix-home "guix home reconfigure ") @@ -33,7 +38,7 @@ (define reconfigure-home- (string-append reconfigure-home - "--allow-downgrades")) + allow-downgrades)) (define guix-system "sudo guix system reconfigure ") @@ -48,7 +53,7 @@ (define reconfigure-system- (string-append reconfigure-system - "--allow-downgrades")) + allow-downgrades)) (define and "&& ") |