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 | 003abe4e414d2de5aafe4530ba58eab7d14c7421 (patch) | |
tree | 58917ea91a3a7b004cd53851a5c4b1fb3413c5b1 /home-configuration.scm | |
parent | f74e3713b8209a23946978976ec45380779e4f00 (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 "&& ") |