aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-08-11 17:14:58 -0300
committerEuAndreh <eu@euandre.org>2023-08-11 17:14:58 -0300
commitc51c37d8841639980317d24bdee9fe967ef0f903 (patch)
tree9b0a63e166b1d19b8f70ffd1d04909610e50102d
parentbin/aux: Exit on -i option (diff)
downloaddotfiles-c51c37d8841639980317d24bdee9fe967ef0f903.tar.gz
dotfiles-c51c37d8841639980317d24bdee9fe967ef0f903.tar.xz
etc/guix/system.scm: Add comments as annotations on how /swapfile was created
-rw-r--r--etc/guix/system.scm5
1 files changed, 5 insertions, 0 deletions
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 "/")