From b1aaa46bce54e44c98ff6dd9ec376f53ea236abc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 20 Aug 2024 07:48:41 -0300 Subject: system.scm: Better instructions on creating /swapfile --- etc/guix/system.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/etc/guix/system.scm b/etc/guix/system.scm index c7b6d30..f209402 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -293,11 +293,13 @@ 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 + ;; # rm -f /swapfile + ;; # truncate -s 0 /swapfile + ;; # chattr +C /swapfile + ;; # fallocate -l 8G /swapfile + ;; # chmod 600 /swapfile + ;; # mkswap /swapfile + ;; # swapon /swapfile (target "/swapfile") (dependencies (filter (file-system-mount-point-predicate "/") -- cgit v1.2.3