about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/libvirtd/default.nix21
1 files changed, 21 insertions, 0 deletions
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;
+  };
+}