Add descriptions to settings
This commit is contained in:
parent
bea09f2582
commit
9e3fad7501
1 changed files with 3 additions and 0 deletions
|
@ -5,15 +5,18 @@
|
||||||
users.sopsPasswordOverride = {
|
users.sopsPasswordOverride = {
|
||||||
enable = lib.mkEnableOption "sops password override" // {
|
enable = lib.mkEnableOption "sops password override" // {
|
||||||
default = false;
|
default = false;
|
||||||
|
description = "Enable overwriting `sops-nix` passwords with default password.";
|
||||||
};
|
};
|
||||||
|
|
||||||
password = lib.mkOption {
|
password = lib.mkOption {
|
||||||
type = lib.types.nullOr (lib.types.passwdEntry lib.types.str);
|
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;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
hashedPassword = lib.mkOption {
|
hashedPassword = lib.mkOption {
|
||||||
type = lib.types.nullOr (lib.types.passwdEntry lib.types.str);
|
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;
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue