From a3a44f9054c186ed519bd01bcf184094fa6aa139 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Fri, 15 Sep 2023 17:00:17 -0400 Subject: some deploy.sh changes --- modules/ryan-config/deploy-templates/HostTemplate | 19 +++++++++++++++++ .../ryan-config/deploy-templates/HostTemplate.scm | 19 ----------------- .../deploy-templates/HostTemplateEncrypted | 24 ++++++++++++++++++++++ .../deploy-templates/HostTemplateEncrypted.scm | 24 ---------------------- 4 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 modules/ryan-config/deploy-templates/HostTemplate delete mode 100644 modules/ryan-config/deploy-templates/HostTemplate.scm create mode 100644 modules/ryan-config/deploy-templates/HostTemplateEncrypted delete mode 100644 modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm (limited to 'modules/ryan-config') diff --git a/modules/ryan-config/deploy-templates/HostTemplate b/modules/ryan-config/deploy-templates/HostTemplate new file mode 100644 index 0000000..9718c51 --- /dev/null +++ b/modules/ryan-config/deploy-templates/HostTemplate @@ -0,0 +1,19 @@ +(use-modules (ryan-config base-system) + (gnu)) + +(operating-system + (inherit base-operating-system) + (host-name "ChangeMe_HOST") + (file-systems (cons* (file-system + (mount-point "/") + (device (uuid "ChangeMe_ROOT" + 'ext4)) + (type "ext4")) + (file-system + (mount-point "/boot/efi") + (device (uuid "ChangeMe_BOOTEFI" + 'fat32)) + (type "vfat")) %base-file-systems)) + (swap-devices + (list + (swap-space (target (uuid "ChangeMe_SWAP")))))) diff --git a/modules/ryan-config/deploy-templates/HostTemplate.scm b/modules/ryan-config/deploy-templates/HostTemplate.scm deleted file mode 100644 index 9718c51..0000000 --- a/modules/ryan-config/deploy-templates/HostTemplate.scm +++ /dev/null @@ -1,19 +0,0 @@ -(use-modules (ryan-config base-system) - (gnu)) - -(operating-system - (inherit base-operating-system) - (host-name "ChangeMe_HOST") - (file-systems (cons* (file-system - (mount-point "/") - (device (uuid "ChangeMe_ROOT" - 'ext4)) - (type "ext4")) - (file-system - (mount-point "/boot/efi") - (device (uuid "ChangeMe_BOOTEFI" - 'fat32)) - (type "vfat")) %base-file-systems)) - (swap-devices - (list - (swap-space (target (uuid "ChangeMe_SWAP")))))) diff --git a/modules/ryan-config/deploy-templates/HostTemplateEncrypted b/modules/ryan-config/deploy-templates/HostTemplateEncrypted new file mode 100644 index 0000000..5d74aaa --- /dev/null +++ b/modules/ryan-config/deploy-templates/HostTemplateEncrypted @@ -0,0 +1,24 @@ +(use-modules (ryan-config base-system) + (gnu)) + +(operating-system + (inherit base-operating-system) + (host-name "ChangeMe_HOST") + (mapped-devices (list (mapped-device + (source (uuid + "ChangeMe_ROOT")) + (target "sysroot") + (type luks-device-mapping)))) + (file-systems (cons* (file-system + (mount-point "/") + (device "/dev/mapper/sysroot") + (type "ext4") + (dependencies mapped-devices)) + (file-system + (mount-point "/boot/efi") + (device (uuid "ChangeMe_BOOTEFI" + 'fat32)) + (type "vfat")) %base-file-systems)) + (swap-devices + (list + (swap-space (target (uuid "ChangeMe_SWAP")))))) diff --git a/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm b/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm deleted file mode 100644 index 5d74aaa..0000000 --- a/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm +++ /dev/null @@ -1,24 +0,0 @@ -(use-modules (ryan-config base-system) - (gnu)) - -(operating-system - (inherit base-operating-system) - (host-name "ChangeMe_HOST") - (mapped-devices (list (mapped-device - (source (uuid - "ChangeMe_ROOT")) - (target "sysroot") - (type luks-device-mapping)))) - (file-systems (cons* (file-system - (mount-point "/") - (device "/dev/mapper/sysroot") - (type "ext4") - (dependencies mapped-devices)) - (file-system - (mount-point "/boot/efi") - (device (uuid "ChangeMe_BOOTEFI" - 'fat32)) - (type "vfat")) %base-file-systems)) - (swap-devices - (list - (swap-space (target (uuid "ChangeMe_SWAP")))))) -- cgit v1.2.3