From fe5b074aae4a85340125c4c0bd4b74094a881388 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 21 Oct 2024 22:51:40 -0400 Subject: refactor system, add installer config --- systems/shinji.scm | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) (limited to 'systems/shinji.scm') diff --git a/systems/shinji.scm b/systems/shinji.scm index 0b8378b..d5333fd 100644 --- a/systems/shinji.scm +++ b/systems/shinji.scm @@ -2,28 +2,23 @@ (gnu)) (operating-system - (inherit base-operating-system) - (host-name "shinji") + (inherit base-operating-system) + (host-name "shinji") - (kernel-arguments (append (list "intel_iommu=on") - %default-kernel-arguments)) + (mapped-devices (list (mapped-device + (source (uuid + "5c5dcb22-62b1-41af-9116-b8fdfba83ca2")) + (target "cryptroot") + (type luks-device-mapping)))) - (initrd-modules (cons* "vfio_pci" "vfio" "vfio_iommu_type1" - %base-initrd-modules)) - - (mapped-devices (list (mapped-device - (source (uuid - "5c5dcb22-62b1-41af-9116-b8fdfba83ca2")) - (target "cryptroot") - (type luks-device-mapping)))) - - (file-systems (cons* (file-system - (mount-point "/") - (device "/dev/mapper/cryptroot") - (type "btrfs") - (dependencies mapped-devices)) - (file-system - (mount-point "/boot/efi") - (device (uuid "AD5A-4DF3" - 'fat32)) - (type "vfat")) %base-file-systems))) + (file-systems (cons* (file-system + (mount-point "/") + (device "/dev/mapper/cryptroot") + (type "btrfs") + (dependencies mapped-devices)) + (file-system + (mount-point "/boot/efi") + (device (uuid "AD5A-4DF3" + 'fat32)) + (type "vfat")) + %freya-file-systems))) -- cgit v1.2.3-freya