Guest User

Untitled

a guest
Oct 23rd, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. (define-module (config systems felux)
  2. #:use-module (gnu)
  3. #:use-module (guix)
  4. #:use-module (config systems base-system))
  5.  
  6. (operating-system
  7. (inherit base-system)
  8. (host-name "felux")
  9.  
  10. (bootloader (bootloader-configuration
  11. (bootloader grub-efi-bootloader)
  12. (targets (list "/boot/efi"))
  13. (keyboard-layout keyboard-layout)))
  14.  
  15. (swap-devices (list (swap-space
  16. (target (uuid
  17. "xxx")))))
  18.  
  19. (mapped-devices (list (mapped-device
  20. (source (uuid
  21. "xxx"))
  22. (target "guix")
  23. (type luks-device-mapping))))
  24.  
  25. (file-systems (cons* (file-system
  26. (mount-point "/")
  27. (device "/dev/mapper/guix")
  28. (type "ext4")
  29. (dependencies mapped-devices))
  30. (file-system
  31. (mount-point "/boot/efi")
  32. (device (uuid "xxx"
  33. 'fat32))
  34. (type "vfat")) %base-file-systems)))
  35.  
Advertisement
Add Comment
Please, Sign In to add comment