From e6f3b5f15857183777cd545d4366c3b51c5e3a02 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 27 Aug 2023 23:30:35 +0100 Subject: [PATCH] fix: these values need to be strings --- flake.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 11021b8..e02e454 100644 --- a/flake.nix +++ b/flake.nix @@ -70,28 +70,28 @@ discord = { server = mkOption rec { - type = types.int; + type = types.str; description = "ID of the server the bot runs on"; }; role = { past = mkOption rec { - type = types.int; + type = types.str; description = "ID of the role to apply to all members"; }; current = mkOption rec { - type = types.int; + type = types.str; description = "ID of the role to applt to only current members"; }; }; timing = { update = mkOption rec { - type = types.int; - default = 600; + type = types.str; + default = "600"; description = "Time in seconds to update member roles"; }; fetch = mkOption rec { - type = types.int; - default = 300; + type = types.str; + default = "300"; description = "Time in seconds to get current users"; }; };