modules/ryan-config/deploy-templates/HostTemplateEncrypted

ed9918f2cd8e9a8030c188af31d3de033a6da036 · 939 B · 24 lines raw

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"))))))