aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/qemu/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-04-13 23:23:50 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-04-13 23:23:50 +0530
commit5661e63d399418a76a6d1e230fa19cdf9fd49a1b (patch)
treee5b2556d3d9c39c1aefe80a12bfac56c204a386d /modules/tools/qemu/default.nix
parentc1f8c7b4cf24b1116fca3676ea48cb9e4423db5e (diff)
downloadhome-manager-config-5661e63d399418a76a6d1e230fa19cdf9fd49a1b.tar.gz
home-manager-config-5661e63d399418a76a6d1e230fa19cdf9fd49a1b.zip
added qemu for running virtual machines
Diffstat (limited to 'modules/tools/qemu/default.nix')
-rw-r--r--modules/tools/qemu/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/tools/qemu/default.nix b/modules/tools/qemu/default.nix
new file mode 100644
index 0000000..388843a
--- /dev/null
+++ b/modules/tools/qemu/default.nix
@@ -0,0 +1,21 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
+
+# QEMU - generic and open source machine & userspace emulator and virtualizer.
+{
+ options.tools.qemu = {
+ enable = lib.mkEnableOption "Enables qemu.";
+ };
+
+ config = lib.mkIf config.tools.qemu.enable {
+ home.packages = with pkgs; [
+ qemu
+ libvirt
+ virtiofsd
+ ];
+ };
+}