From 1779e0f2f16cfbe81620ed0c80808bd2981f55cd Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 08:36:07 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 08:36:07 --- modules/server/virtualisation.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/server/virtualisation.nix b/modules/server/virtualisation.nix index e69de29..2598a3b 100644 --- a/modules/server/virtualisation.nix +++ b/modules/server/virtualisation.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: +{ + virtualisation = { + docker.enable = true; + spiceUSBRedirection.enable = config.my.virtualisation.enable; + libvirtd = lib.mkIf config.my.virtualisation.enable { + enable = true; + qemu = { + swtpm.enable = true; + runAsRoot = false; + }; + onShutdown = "shutdown"; + nss.enableGuest = true; + }; + }; +} \ No newline at end of file