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

25 lines
939 B
Scheme
Raw Normal View History

2023-09-14 17:36:03 +00:00
(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"))))))