diff options
Diffstat (limited to 'modules/ryan-config/deploy-templates/HostTemplateEncrypted')
| -rw-r--r-- | modules/ryan-config/deploy-templates/HostTemplateEncrypted | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
| 1 | (use-modules (ryan-config base-system) | ||
| 2 | (gnu)) | ||
| 3 | |||
| 4 | (operating-system | ||
| 5 | (inherit base-operating-system) | ||
| 6 | (host-name "ChangeMe_HOST") | ||
| 7 | (mapped-devices (list (mapped-device | ||
| 8 | (source (uuid | ||
| 9 | "ChangeMe_ROOT")) | ||
| 10 | (target "sysroot") | ||
| 11 | (type luks-device-mapping)))) | ||
| 12 | (file-systems (cons* (file-system | ||
| 13 | (mount-point "/") | ||
| 14 | (device "/dev/mapper/sysroot") | ||
| 15 | (type "ext4") | ||
| 16 | (dependencies mapped-devices)) | ||
| 17 | (file-system | ||
| 18 | (mount-point "/boot/efi") | ||
| 19 | (device (uuid "ChangeMe_BOOTEFI" | ||
| 20 | 'fat32)) | ||
| 21 | (type "vfat")) %base-file-systems)) | ||
| 22 | (swap-devices | ||
| 23 | (list | ||
| 24 | (swap-space (target (uuid "ChangeMe_SWAP")))))) | ||
