From 9e3fad750172e34dfbf857d4956701caa2b1fcb8 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 2 May 2024 13:14:04 +0200 Subject: [PATCH] Add descriptions to settings --- lib/modules/custom-sops-nix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/modules/custom-sops-nix.nix b/lib/modules/custom-sops-nix.nix index cf33f47..e883166 100644 --- a/lib/modules/custom-sops-nix.nix +++ b/lib/modules/custom-sops-nix.nix @@ -5,15 +5,18 @@ users.sopsPasswordOverride = { enable = lib.mkEnableOption "sops password override" // { default = false; + description = "Enable overwriting `sops-nix` passwords with default password."; }; password = lib.mkOption { type = lib.types.nullOr (lib.types.passwdEntry lib.types.str); + description = "The password to set for users which are supposed to use `sops-nix`."; default = null; }; hashedPassword = lib.mkOption { type = lib.types.nullOr (lib.types.passwdEntry lib.types.str); + description = "The hashed password to set for users which are supposed to use `sops-nix`."; default = null; }; };