From de223ea9ea09a961c5814aa9243c2878f63ca2eb Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 3 Dec 2023 18:49:19 -0700 Subject: [PATCH] added swap partitions --- aws.scm | 1 + kerberos.metznet.ca.scm | 1 + ldap.metznet.ca.scm | 1 + vpn.metznet.ca.scm | 1 + 4 files changed, 4 insertions(+) diff --git a/aws.scm b/aws.scm index 0f1d9cd..e6594dd 100644 --- a/aws.scm +++ b/aws.scm @@ -17,6 +17,7 @@ (bootloader (bootloader-configuration (bootloader grub-minimal-bootloader) (targets '("/dev/nvme1n1")))) + (swap-devices (list (swap-space (target (file-system-label "guix-swap"))))) (file-systems (cons (file-system (device (file-system-label "guix-data")) (mount-point "/") diff --git a/kerberos.metznet.ca.scm b/kerberos.metznet.ca.scm index 6e7a6fb..779d01b 100644 --- a/kerberos.metznet.ca.scm +++ b/kerberos.metznet.ca.scm @@ -14,6 +14,7 @@ (bootloader (bootloader-configuration (bootloader grub-minimal-bootloader) (targets '("/dev/nvme0n1")))) + (swap-devices (list (swap-space (target (file-system-label "krb-guix-swap"))))) (file-systems (cons (file-system (device (file-system-label "krb-guix-data")) (mount-point "/") diff --git a/ldap.metznet.ca.scm b/ldap.metznet.ca.scm index f346648..8a515c0 100644 --- a/ldap.metznet.ca.scm +++ b/ldap.metznet.ca.scm @@ -14,6 +14,7 @@ (bootloader (bootloader-configuration (bootloader grub-minimal-bootloader) (targets '("/dev/nvme0n1")))) + (swap-devices (list (swap-space (target (file-system-label "ldap-guix-swap"))))) (file-systems (cons (file-system (device (file-system-label "ldap-guix-data")) (mount-point "/") diff --git a/vpn.metznet.ca.scm b/vpn.metznet.ca.scm index 6fe0454..53c7f6c 100644 --- a/vpn.metznet.ca.scm +++ b/vpn.metznet.ca.scm @@ -14,6 +14,7 @@ (bootloader (bootloader-configuration (bootloader grub-minimal-bootloader) (targets '("/dev/nvme0n1")))) + (swap-devices (list (swap-space (target (file-system-label "vpn-guix-swap"))))) (file-systems (cons (file-system (device (file-system-label "vpn-guix-data")) (mount-point "/")