diff options
author | ryan77627 <ryan@rschanz.org> | 2023-05-19 00:34:04 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-05-19 00:34:04 -0400 |
commit | f34a9eeda9e4a7ddbaf22d305d20439a1c5121e4 (patch) | |
tree | 5f1fc8963666cfcb972cc27524bbb44c51738f35 /testvm.scm | |
parent | c605bf8e4b9c5a368494a970efaa26d20be1834e (diff) |
Added VM test configuration
Diffstat (limited to 'testvm.scm')
-rw-r--r-- | testvm.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testvm.scm b/testvm.scm new file mode 100644 index 0000000..e054d61 --- /dev/null +++ b/testvm.scm | |||
@@ -0,0 +1,23 @@ | |||
1 | (use-modules (ryan-config base-system)) | ||
2 | |||
3 | (operating-system | ||
4 | (inherit base-operating-system) | ||
5 | (host-name "GuixVM") | ||
6 | (mapped-devices (list (mapped-device | ||
7 | (source (uuid | ||
8 | "0b98fe74-ed99-424e-b7d7-514284190528")) | ||
9 | (target "sysroot") | ||
10 | (type luks-device-mapping)))) | ||
11 | (file-systems (cons* (file-system | ||
12 | (mount-point "/") | ||
13 | (device "/dev/mapper/sysroot") | ||
14 | (type "ext4") | ||
15 | (dependencies mapped-devices)) | ||
16 | (file-system | ||
17 | (mount-point "/boot/efi") | ||
18 | (device (uuid "74F2-CFDC" | ||
19 | 'fat32)) | ||
20 | (type "vfat")) %base-file-systems)) | ||
21 | (swap-devices | ||
22 | (list | ||
23 | (swap-space (target (uuid "277a198e-a3bf-4dba-9077-b1a95cb34869")))))) | ||