diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guix/system.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 418aa1b..7a75dee 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -142,5 +142,15 @@ (swap-devices (list (swap-space + ;; # rm /swapfile + ;; # fallocate -l 8G /swapfile + ;; # chmod 600 /swapfile + ;; # mkswap /swapfile + ;; # swapon /swapfile + (target "/swapfile") + (dependencies + (filter (file-system-mount-point-predicate "/") + file-systems))) + (swap-space (target (uuid "fde5e4a8-acc2-4c9a-9712-5494724c2c04")))))) |