RyanTower.scm

7a693ddea38bee1a7a2049d83fa2231eb876fbd1 · 1.3 KB · 33 lines raw

1 (use-modules (ryan-config base-system)
2 (ryan-bootloader uki)
3 (gnu))
4
5 (operating-system
6 (inherit base-operating-system)
7 (kernel-arguments (append (list "amd_iommu=on")
8 %default-kernel-arguments))
9 (initrd-modules (cons* "vfio_pci" "vfio" "vfio_iommu_type1"
10 %base-initrd-modules))
11 (host-name "RyanTower")
12 (mapped-devices (list (mapped-device
13 (source (uuid
14 "e9f000b6-5532-499b-8278-bba30c1a2673"))
15 (target "sysroot")
16 (type luks-device-mapping))))
17 (file-systems (cons* (file-system
18 (mount-point "/")
19 (device "/dev/mapper/sysroot")
20 (type "ext4")
21 (dependencies mapped-devices))
22 (file-system
23 (mount-point "/boot/efi")
24 (device (uuid "89A8-89B0"
25 'fat32))
26 (type "vfat")) %base-file-systems))
27 (bootloader (bootloader-configuration
28 (bootloader uefi-uki-bootloader)
29 (targets (list "/boot/efi"))
30 (keyboard-layout (keyboard-layout "us"))))
31 (swap-devices
32 (list
33 (swap-space (target (uuid "e9f000b6-5532-499b-8278-bba30c1a2673"))))))