mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-03 04:31:22 +02:00
15 lines
284 B
Nix
15 lines
284 B
Nix
{ lib, ... }:
|
|
|
|
# This enables
|
|
# lib.mkIf (!config.virtualisation.isVmVariant) { ... }
|
|
|
|
{
|
|
options.virtualisation.isVmVariant = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
};
|
|
config.virtualisation.vmVariant = {
|
|
virtualisation.isVmVariant = true;
|
|
};
|
|
}
|