summaryrefslogtreecommitdiff
path: root/guix-strap/system.scm
blob: af791c58d52a2ce3869c5f52124793c853de7aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(use-modules (home-config base-system)
             (gnu))

(operating-system
    (inherit base-operating-system)
    (host-name "SED_HOSTNAME")

    (mapped-devices (list (mapped-device
                (source (uuid
                      "SED_CRYPT_UUID"))
                (target "root")
                (type luks-device-mapping))))
  
    (file-systems (cons* (file-system
                            (mount-point "/")
                            (device "/dev/mapper/root")
                            (type "btrfs")
                            (dependencies mapped-devices))
                         (file-system
                            (mount-point "/boot/efi")
                            (device (uuid "SED_EFI_UUID"
                                  'fat32))
                            (type "vfat")) %base-file-systems)))