From c51c37d8841639980317d24bdee9fe967ef0f903 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 11 Aug 2023 17:14:58 -0300 Subject: etc/guix/system.scm: Add comments as annotations on how /swapfile was created --- etc/guix/system.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/guix/system.scm b/etc/guix/system.scm index 409d61e..0ae9916 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -281,6 +281,11 @@ Seiko Epson Color Ink Jet Printers.") (swap-devices (list (swap-space + ;; sudo rm /swapfile + ;; sudo fallocate -l 8G /swapfile + ;; sudo chmod 600 /swapfile + ;; sudo mkswap /swapfile + ;; sudo swapon /swapfile (target "/swapfile") (dependencies (filter (file-system-mount-point-predicate "/") -- cgit v1.2.3