From aca2eeb1eae24089ce339561b1d6f7000d15b7ae Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 11 Feb 2023 21:46:09 +0100 Subject: Configure the Guix Daemon to keep all live derivations and outputs --- aisaka.org | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'aisaka.org') diff --git a/aisaka.org b/aisaka.org index b60be9f..d6cac55 100644 --- a/aisaka.org +++ b/aisaka.org @@ -7,6 +7,19 @@ https://guix.gnu.org/en/manual/en/html_node/ +** TODO Installation + +https://guix.gnu.org/en/manual/en/html_node/Installation.html + +*** TODO Invoking guix-daemon + +https://guix.gnu.org/en/manual/en/html_node/Invoking-guix_002ddaemon.html + +#+begin_src scheme :noweb-ref guix-options + "--gc-keep-derivations=yes" + "--gc-keep-outputs=yes" +#+end_src + ** TODO System configuration https://guix.gnu.org/en/manual/en/html_node/System-Configuration.html @@ -76,6 +89,7 @@ https://guix.gnu.org/en/manual/en/html_node/Services.html #+begin_src scheme :noweb-ref system-services (services (append + <> (list <> <> @@ -92,15 +106,32 @@ https://guix.gnu.org/en/manual/en/html_node/Services.html (service tor-service-type (tor-configuration - (control-socket? #t))) - <>) + (control-socket? #t)))) (modify-services %desktop-services (elogind-service-type configuration => (elogind-configuration (inherit configuration) - (handle-lid-switch 'ignore)))))) + (handle-lid-switch 'ignore))) + (delete guix-service-type)))) +#+end_src + +**** TODO Base Services + +https://guix.gnu.org/en/manual/en/html_node/Base-Services.html + +#+begin_src scheme :noweb-ref system-base-services + (append + (list + <>) + (list + (service + guix-service-type + (guix-configuration + (extra-options + (list + <>)))))) #+end_src ** TODO Home configuration -- cgit v1.2.3