guix-dotfiles/modules/ryan-config/deploy-templates/HostTemplateEncrypted

25 lines
939 B
Plaintext

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