summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-02-11 23:31:03 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2023-02-11 23:31:03 +0100
commitcd1d455f126fd2fcf6c0f1a1afd9275d0c503656 (patch)
tree78a67a29f024bbafab494ac797481c35326d3477
parente52513035a4cc61a2bc170a8b09ac3fda26f3aa0 (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