From eafafdaaeb54960ef6cafb977b07bea49a4aae58 Mon Sep 17 00:00:00 2001 From: ene Date: Wed, 22 Mar 2023 20:32:37 +0100 Subject: Feat(system/libvirtd): Add libvirtd support --- system/libvirtd/default.nix | 21 +++++++++++++++++++++ todo.md | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 system/libvirtd/default.nix diff --git a/system/libvirtd/default.nix b/system/libvirtd/default.nix new file mode 100644 index 00000000..33736dfa --- /dev/null +++ b/system/libvirtd/default.nix @@ -0,0 +1,21 @@ +# vim: ts=2 +{ + config, + pkgs, + ... +}: { + virtualisation = { + cores = 8; + diskSize = 25000; + useEFIBoot = true; + resolution = { + x = 1920; + y = 1080; + }; + memorySize = 8024; + sharedDirectories = {}; # TODO add some + }; + virtialisation.libvirtd = { + enable = true; + }; +} diff --git a/todo.md b/todo.md index a6552b2d..d3dc932b 100644 --- a/todo.md +++ b/todo.md @@ -1,5 +1,5 @@ # Services to add -- [ ] QEMU +- [x] QEMU - [ ] Tex - [ ] Transfer the last user configs * [ ] secret token for nheko -- cgit 1.4.1