From 14f170cdc9ee5d134e6c6efde54e6a3b9dbb7f6a Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Wed, 26 Feb 2025 10:54:53 -0600 Subject: [PATCH] added type to tokenFile --- modules/nixos-modules/disko.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/nixos-modules/disko.nix b/modules/nixos-modules/disko.nix index 28afab1..13ddb8f 100644 --- a/modules/nixos-modules/disko.nix +++ b/modules/nixos-modules/disko.nix @@ -42,7 +42,10 @@ in { type = lib.types.str; description = "what user is the email going to be set from"; }; - tokenFile = lib.mkOption {}; # TODO: make this a secrets file + tokenFile = lib.mkOption { + type = lib.types.str; + description = "file containing the password to be used by msmtp for notifications"; + }; }; pool = { vdevs = lib.mkOption {