From e1503afe5b1b3c08c0673be5d987accb21cf435f Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 7 May 2025 21:45:50 +0200 Subject: (corrino) libvirtnix: apparently string is deprecated --- nix/modules/libvirtnix/domain.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nix/modules/libvirtnix/domain.nix b/nix/modules/libvirtnix/domain.nix index f7596e3..22cd891 100644 --- a/nix/modules/libvirtnix/domain.nix +++ b/nix/modules/libvirtnix/domain.nix @@ -21,17 +21,17 @@ in type = lib.types.submodule { options = { mode = lib.mkOption { - type = lib.types.string; + type = lib.types.str; example = "host-passthrough"; default = ""; }; check = lib.mkOption { - type = lib.types.string; + type = lib.types.str; example = "none"; default = ""; }; migratable = lib.mkOption { - type = lib.types.string; + type = lib.types.str; example = "on"; default = ""; }; @@ -49,7 +49,7 @@ in type = lib.types.submodule { options = { state = lib.mkOption { - type = lib.types.string; + type = lib.types.str; example = "off"; default = ""; }; -- cgit 1.4.1