about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2025-05-07 21:45:50 +0200
committerEmile <git@emile.space>2025-05-07 21:45:50 +0200
commite1503afe5b1b3c08c0673be5d987accb21cf435f (patch)
tree89809eb43a13537d39e8ab4932ce8bf944044236
parentd72fee53142fe38b2ddd0a73c76bc80c81951710 (diff)
(corrino) libvirtnix: apparently string is deprecated HEAD main
-rw-r--r--nix/modules/libvirtnix/domain.nix8
1 files 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 = "";
                     };