Added VM test configuration

This commit is contained in:
Ryan 2023-05-19 00:34:04 -04:00 committed by Ryan Schanzenbacher
parent c605bf8e4b
commit f34a9eeda9
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

23
testvm.scm Normal file
View file

@ -0,0 +1,23 @@
(use-modules (ryan-config base-system))
(operating-system
(inherit base-operating-system)
(host-name "GuixVM")
(mapped-devices (list (mapped-device
(source (uuid
"0b98fe74-ed99-424e-b7d7-514284190528"))
(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 "74F2-CFDC"
'fat32))
(type "vfat")) %base-file-systems))
(swap-devices
(list
(swap-space (target (uuid "277a198e-a3bf-4dba-9077-b1a95cb34869"))))))