From 0fd1f05e499f6e753a259eab585e703cec3c01f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Tue, 19 Mar 2024 20:27:22 +0100 Subject: [PATCH] Remove unused nix options --- nix/module.nix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index b86981b..a5a795f 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -27,19 +27,6 @@ in ''; }; settings = { - token = mkOption { - type = str; - description = '' - Your Discord bot's access token. - Anyone with possession of this token can act on your bot's behalf. - ''; - }; - owners = mkOption { - type = str; - description = '' - A comma separated list of User IDs who have full access to the bot. Overrides modranks. - ''; - }; backups-interval-minutes = mkOption { type = int; default = 60; @@ -67,7 +54,7 @@ in description = lib.mdDoc '' Path to a key-value pair file to be merged with the settings. Useful to merge a file which is better kept out of the Nix store - to set secret config parameters like `token`. + to set secret config parameters like `token` and `owners`. ''; default = "/dev/null"; example = "/var/lib/secrets/moe/production.env";