mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 21:32:26 +01:00
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.
15 lines
530 B
Nix
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.
|
|
'';
|
|
};
|
|
}
|