guix-packages/ambrevar/system/laptop-mimimi: Crypt root partition

master
Pierre Neidhardt 2019-05-28 11:22:54 +02:00
parent b1ed449786
commit c3a3c69ba8
1 changed files with 24 additions and 1 deletions

View File

@ -47,4 +47,27 @@
(operating-system
(inherit default-operating-system)
(kernel linux-xiaomi-air-13))
(kernel linux-xiaomi-air-13)
;; The UUID is that returned by 'cryptsetup luksUUID'.
(mapped-devices
(list (mapped-device
(source (uuid "b29cb68b-b154-4228-a131-34e9c474b0bd"))
(target "guix")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(device (file-system-label "guix"))
(mount-point "/")
(type "ext4")
(dependencies mapped-devices))
(file-system
(device (uuid "4E30-891F" 'fat))
(mount-point "/boot/efi")
(type "vfat"))
(file-system
(mount-point "/tmp")
(device "none")
(type "tmpfs")
(check? #f))
%base-file-systems)))