aboutsummaryrefslogtreecommitdiff
path: root/etc/guix/system.scm
diff options
context:
space:
mode:
Diffstat (limited to 'etc/guix/system.scm')
-rw-r--r--etc/guix/system.scm12
1 files 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 "/")