Reinstalling sybil on a new disk

Julien LepillerSat Jun 08 23:14:48+0200 2019

ad0849e

Reinstalling sybil on a new disk

systems/sybil.scm

2424
(let ((system (tyreunom-desktop-os "sybil")))
2525
  (operating-system
2626
    (inherit system)
27+
    (keyboard-layout (keyboard-layout "fr" "bepo"))
2728
    (bootloader
2829
      (bootloader-configuration
2930
        (target "/boot/efi")
30-
        (bootloader grub-efi-bootloader)))
31+
        (bootloader grub-efi-bootloader)
32+
	(keyboard-layout keyboard-layout)))
33+
    (mapped-devices
34+
      (list (mapped-device
35+
              (source
36+
                (uuid "7f0ef292-5d1f-4cde-8a59-074178c6903d"))
37+
              (target "cryptroot")
38+
              (type luks-device-mapping))))
3139
    (file-systems
3240
      (cons* (file-system
33-
               (device (file-system-label "guix"))
34-
               (mount-point "/")
35-
               (type "ext4"))
36-
             (file-system
37-
               (device (uuid "88ED-35AA" 'fat))
3841
               (mount-point "/boot/efi")
42+
               (device (uuid "C62C-8291" 'fat32))
3943
               (type "vfat"))
44+
             (file-system
45+
               (mount-point "/")
46+
               (device "/dev/mapper/cryptroot")
47+
               (type "ext4")
48+
               (dependencies mapped-devices))
4049
             %base-file-systems))
4150
    (services desktop-services)))