diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-10-31 01:32:11 +0100 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-10-31 01:32:11 +0100 |
commit | dd407a7a15484cc52fa606041295696e2b5dcda3 (patch) | |
tree | cd32988f6cc433d124c42bb3289efffc7c3bbaa7 /home-configuration.scm | |
parent | 74100e152b45a560b98b46a1737fe11e76b0ff3d (diff) |
Home configuration: break out reconfigure-system and reconfigure-system-
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 7a0a102..7b76bd0 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -29,6 +29,15 @@ (string-append reconfigure-home "--allow-downgrades")) +(define reconfigure-system + (string-append "sudo guix system reconfigure " + config-prefix + "system-configuration.scm")) + +(define reconfigure-system- + (string-append reconfigure-system + "--allow-downgrades")) + (define system-update "pull-guix && reconfigure-system && reconfigure-home") @@ -43,10 +52,8 @@ ("pull-guix-" . ,pull-guix-) ("reconfigure-home" . ,reconfigure-home) ("reconfigure-home-" . ,reconfigure-home-) - ("reconfigure-system" . (string-append "sudo guix system reconfigure " - ,config-prefix - "system-configuration.scm")) - ("reconfigure-system-" . "reconfigure-system --allow-downgrades") + ("reconfigure-system" . ,reconfigure-system) + ("reconfigure-system-" . ,reconfigure-system-) ("system-update" . ,system-update) ("system-update-" . ,system-update-))) |