Virtualisation¶
Source directory: modules/virt/
default.nix¶
No option declarations; see source for implementation.
incus.nix¶
No option declarations; see source for implementation.
podman.nix¶
No option declarations; see source for implementation.
spice.nix¶
No option declarations; see source for implementation.
virt.nix¶
No option declarations; see source for implementation.
waydroid.nix¶
- Enable option: Waydroid Android emulation
Options declaration (Nix)
options.features.virtualization.waydroid = {
enable = lib.mkEnableOption "Waydroid Android emulation";
disableGbm = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Disable GBM and mesa-drivers (required for NVIDIA GPUs).
Set to true for systems with NVIDIA graphics cards or RX 6800 series.
This is a critical requirement for Waydroid compatibility with NVIDIA.
'';
};
enableWaydroidHelper = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Enable waydroid-helper systemd service for automated filesystem setup.
Waydroid-helper provides the waydroid-mount service which automatically
manages Waydroid's filesystem mounts. Available in NixOS 25.11+.
'';
};
package = lib.mkOption {
type = lib.types.package;
default = pkgs.waydroid-nftables;
description = ''
Waydroid package to use.
Default is waydroid-nftables which includes patches for compatibility
with newer Linux kernels that use nftables instead of iptables.
'';
};
}