summaryrefslogtreecommitdiff
path: root/SmallLaptop.scm
blob: 70d61147cfff29ca825c309b8385763c83d9f745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(use-modules (ryan-config base-system)
	     (ryan-bootloader uki)
             (gnu))

(operating-system
  (inherit base-operating-system)
  (host-name "SmallLaptop")
  (mapped-devices (list (mapped-device
                          (source (uuid
                                   "f2daabc9-543e-4128-8c61-dd5278988781"))
                          (target "sysroot")
                          (type luks-device-mapping))))
  (file-systems (cons* (file-system
                         (mount-point "/")
                         (device "/dev/mapper/sysroot")
                         (type "ext4")
                         (dependencies mapped-devices))
                       (file-system
                         (mount-point "/boot/efi")
                         (device (uuid "1E29-F197"
                                       'fat32))
                         (type "vfat")) %base-file-systems))
  (bootloader (bootloader-configuration
		(bootloader (uefi-uki-signed-bootloader
                      "/var/lib/sbctl/keys/db/db.pem" "/var/lib/sbctl/keys/db/db.key"))
		(targets (list "/boot/efi"))
		(keyboard-layout (keyboard-layout "us"))))
  (swap-devices
    (list
      (swap-space (target (uuid "93ded2d1-da41-4b74-a1ca-697fe99b7efb"))))))