From 61259e3a7f959fce1a576a774c8a502a6df48e01 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 21 May 2024 01:56:53 +0200 Subject: [PATCH] Update disko + fix `types.string` usage --- flake.lock | 6 +++--- modules/nixos/cloudflared.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index bd911be..5dc98e9 100644 --- a/flake.lock +++ b/flake.lock @@ -404,11 +404,11 @@ ] }, "locked": { - "lastModified": 1711588700, - "narHash": "sha256-vBB5HoQVnA6c/UrDOhLXKAahEwSRccw2YXYHxD7qoi4=", + "lastModified": 1716168343, + "narHash": "sha256-82oT27w9smpItZ+PyN2C0PjIwZYbIocwXSM4u1igXuc=", "owner": "nix-community", "repo": "disko", - "rev": "502241afa3de2a24865ddcbe4c122f4546e32092", + "rev": "6f01b9710bc4d3bf006eb8df928b4b15e0430901", "type": "github" }, "original": { diff --git a/modules/nixos/cloudflared.nix b/modules/nixos/cloudflared.nix index 5ef4f08..8798379 100644 --- a/modules/nixos/cloudflared.nix +++ b/modules/nixos/cloudflared.nix @@ -4,7 +4,7 @@ in { options.satellite.cloudflared = { tunnel = lib.mkOption { - type = lib.types.string; + type = lib.types.str; description = "Cloudflare tunnel id to use for the `satellite.cloudflared.targets` helper"; }; @@ -20,7 +20,7 @@ in host = lib.mkOption { default = name; - type = lib.types.string; + type = lib.types.str; description = "Host to direct traffic from"; }; };