Files
komorebi/nix/linux/tests/vm/nodes/options.nix
T
LGUG2Z f01853ceca refactor(repo): move the KDE and macOS nix files under nix/ (pure move)
komorebi-for-kde/nix/ -> nix/linux/
komorebi-for-mac/nix/ -> nix/macos/

The nix expressions of the platforms (modules, option files, VM test suites, kwin effects,
the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252
files); the flakes that import them are replaced by one root flake later in this stack, so
nix does not evaluate at this revision.
2026-11-05 15:03:27 -08:00

15 lines
530 B
Nix

# The options the test nodes share.
{ lib, ... }:
{
options.komorebi.vm.renderNode = lib.mkOption {
type = lib.types.bool;
default = true;
description = ''
Give an x86_64 guest a virtio-gpu, so that KWin has a DRM render node. A node that draws sets
this to false: the virtio-gpu would be a second display, KWin would draw on it, and a
screenshot, which is of the other one, would show nothing. The test driver adds the one
virtio-gpu an aarch64 guest has, whatever this says.
'';
};
}