1 { config, lib, pkgs, ... }:
7 cfg = config.virtualisation.appvm;
12 virtualisation.appvm = {
17 This enables AppVMs and related virtualisation settings.
23 AppVM user login. Currently only AppVMs are supported for a single user only.
30 config = mkIf cfg.enable {
31 virtualisation.libvirtd = {
33 qemu.verbatimConfig = ''
41 users.users."${cfg.user}" = {
42 packages = [ pkgs.appvm ];
43 extraGroups = [ "libvirtd" ];