mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 04:56:09 -05:00
Added VM test configuration
This commit is contained in:
parent
c605bf8e4b
commit
f34a9eeda9
1 changed files with 23 additions and 0 deletions
23
testvm.scm
Normal file
23
testvm.scm
Normal 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"))))))
|
Loading…
Reference in a new issue