summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-02-11 23:31:03 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-02-11 23:31:03 +0100
commit5c0c4e4427a6b771c4c41c1ccd8950050dad67be (patch)
tree0336c1e33e16d9a8495f97c7a6c17b6872c9f87c
parentc2f54be32c28109c7ffc10c5f85e5b47131c7ef3 (diff)
Add garbage collection to system-update
-rw-r--r--aisaka.org8
-rw-r--r--home-configuration.scm8
2 files changed, 12 insertions, 4 deletions
diff --git a/aisaka.org b/aisaka.org
index 3b8af7c..f397c0c 100644
--- a/aisaka.org
+++ b/aisaka.org
@@ -194,14 +194,18 @@ https://guix.gnu.org/en/manual/devel/en/html_node/Home-Configuration.html
"&& ")
(define system-update
- (string-append pull-guix
+ (string-append "sudo guix gc -d 7d "
+ and
+ pull-guix
and
reconfigure-system
and
reconfigure-home))
(define system-update-
- (string-append pull-guix-
+ (string-append "sudo guix gc -d 7d "
+ and
+ pull-guix-
and
reconfigure-system-
and
diff --git a/home-configuration.scm b/home-configuration.scm
index f35ae53..c3dee97 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -56,14 +56,18 @@
"&& ")
(define system-update
- (string-append pull-guix
+ (string-append "sudo guix gc -d 7d "
+ and
+ pull-guix
and
reconfigure-system
and
reconfigure-home))
(define system-update-
- (string-append pull-guix-
+ (string-append "sudo guix gc -d 7d "
+ and
+ pull-guix-
and
reconfigure-system-
and