summaryrefslogtreecommitdiff
path: root/RyanTower.scm
blob: 431cbe31410de10f2a8c122c49e2a22d486beb03 (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
31
32
33
(use-modules (ryan-config base-system)
	     (ryan-bootloader uki)
             (gnu))

(operating-system
  (inherit base-operating-system)
  (kernel-arguments (append (list "amd_iommu=on")
			    %default-kernel-arguments))
  (initrd-modules (cons* "vfio_pci" "vfio" "vfio_iommu_type1"
			 %base-initrd-modules))
  (host-name "RyanTower")
  (mapped-devices (list (mapped-device
                          (source (uuid
                                   "e9f000b6-5532-499b-8278-bba30c1a2673"))
                          (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 "89A8-89B0"
                                       'fat32))
                         (type "vfat")) %base-file-systems))
  (bootloader (bootloader-configuration
		(bootloader uefi-uki-bootloader)
		(targets (list "/boot/efi"))
		(keyboard-layout (keyboard-layout "us"))))
  (swap-devices
    (list
      (swap-space (target (uuid "e9f000b6-5532-499b-8278-bba30c1a2673"))))))