diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-14 13:36:03 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-14 13:36:03 -0400 |
commit | 33a7e1524d9134dab37e1ba812e0526a7fd72435 (patch) | |
tree | d5ba876e1638d5a2abe0a8c81076786d4a46fd13 /modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm | |
parent | b53809f97d12725bd8afc43a010cdf16ceeefc84 (diff) |
preparing deploy script
Diffstat (limited to 'modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm')
-rw-r--r-- | modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm b/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm new file mode 100644 index 0000000..5d74aaa --- /dev/null +++ b/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm | |||
@@ -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")))))) | ||