Advertisement
matthuszagh

Untitled

Jun 21st, 2019
1,075
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.63 KB | None | 0 0
  1. (define cryptnvme
  2.   (mapped-device
  3.     (source (uuid "uuid..."))
  4.     (target "cryptnvme")
  5.     (type luks-device-mapping)))
  6.  
  7. (define cryptsd
  8.   (mapped-device
  9.     (source (uuid "uuid..."))
  10.     (target "cryptsd")
  11.     (type luks-device-mapping)))
  12.  
  13. (define fs-root
  14.   (file-system
  15.     (mount-point "/")
  16.     (type "btrfs")
  17.     (device (file-system-label "btrfs"))
  18.     (options (btrfs-mount-options "btrfs/guixsd"))
  19.     (needed-for-boot? #t)
  20.     (dependencies `(,cryptnvme))))
  21.  
  22. (operating-system
  23. ...
  24.   (mapped-devices (list cryptnvme cryptsd))
  25.   (file-systems
  26.     (cons*
  27.       ...
  28.       fs-root
  29.       %base-file-systems))
  30. ...
  31. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement