aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.org7
1 files changed, 1 insertions, 6 deletions
diff --git a/README.org b/README.org
index 296d70b..99c61a3 100644
--- a/README.org
+++ b/README.org
@@ -201,12 +201,7 @@ Create nested subvolumes for ~/gnu/store~ and ~/home~.
#+begin_src bash
mkdir /mnt/swap
mount -o subvol=@swap /dev/sda2 /mnt/swap
- chmod 600 /mnt/swap/swapfile
- touch /mnt/swap/swapfile
- chattr +C /mnt/swap/swapfile
- dd if=/dev/zero of=/mnt/swap/swapfile bs=1M count=32768
-
- mkswap /mnt/swap/swapfile
+ btrfs filesystem mkswapfile --size 32g --uuid clear /swap/swapfile
#+end_src
*** Prepare ~/mnt~ for Guix installation