diff options
author | EuAndreh <eu@euandre.org> | 2024-08-20 07:31:53 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-20 07:31:53 -0300 |
commit | d827b66318dc67507f595afdcc845c157ba1821c (patch) | |
tree | f35976b9a7c6a8f09f9f9b96b7b72b5224d35e62 | |
parent | system.scm: Comment services that depend on go-full (diff) | |
download | asami-d827b66318dc67507f595afdcc845c157ba1821c.tar.gz asami-d827b66318dc67507f595afdcc845c157ba1821c.tar.xz |
system.scm: Add "chattr +C" to /swapfile instructions
-rw-r--r-- | src/guix/system.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 5260110..9321de3 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -142,7 +142,9 @@ (swap-devices (list (swap-space - ;; # rm /swapfile + ;; # rm -f /swapfile + ;; # truncate -s 0 /swapfile + ;; # chattr +C /swapfile ;; # fallocate -l 8G /swapfile ;; # chmod 600 /swapfile ;; # mkswap /swapfile |