summaryrefslogtreecommitdiff
path: root/systems/shinji.scm
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-06-21 22:52:21 -0400
committerFreya Murphy <freya@freyacat.org>2024-06-21 22:52:21 -0400
commitcf5d8d92f1904511006a89970349dbf723ae1732 (patch)
tree2deb7af8e9031a502b6b7f1c263198e4d6b93f9f /systems/shinji.scm
parentupdate guixstrap (diff)
downloaddotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.tar.gz
dotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.tar.bz2
dotfiles-guix-cf5d8d92f1904511006a89970349dbf723ae1732.zip
update things
Diffstat (limited to 'systems/shinji.scm')
-rw-r--r--systems/shinji.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/systems/shinji.scm b/systems/shinji.scm
new file mode 100644
index 0000000..0b8378b
--- /dev/null
+++ b/systems/shinji.scm
@@ -0,0 +1,29 @@
+(use-modules (freya system)
+ (gnu))
+
+(operating-system
+ (inherit base-operating-system)
+ (host-name "shinji")
+
+ (kernel-arguments (append (list "intel_iommu=on")
+ %default-kernel-arguments))
+
+ (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)))