diff options
| author | EuAndreh <eu@euandre.org> | 2023-08-11 17:14:58 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-08-11 17:14:58 -0300 |
| commit | c51c37d8841639980317d24bdee9fe967ef0f903 (patch) | |
| tree | 9b0a63e166b1d19b8f70ffd1d04909610e50102d /etc/guix | |
| parent | bin/aux: Exit on -i option (diff) | |
| download | dotfiles-c51c37d8841639980317d24bdee9fe967ef0f903.tar.gz dotfiles-c51c37d8841639980317d24bdee9fe967ef0f903.tar.xz | |
etc/guix/system.scm: Add comments as annotations on how /swapfile was created
Diffstat (limited to 'etc/guix')
| -rw-r--r-- | etc/guix/system.scm | 5 |
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 "/") |
