diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 17:00:17 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 17:00:17 -0400 |
commit | a3a44f9054c186ed519bd01bcf184094fa6aa139 (patch) | |
tree | 8ecadb1b40baef460fa592ca1ccb9fb8efb01a52 /modules/ryan-config/deploy-templates/HostTemplateEncrypted | |
parent | 297ef48f8e8bb5f50a16f9074b54bec6827eec6d (diff) |
some deploy.sh changes
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")))))) | ||