improve doc

module-based-network
Daniel Barlow 2023-08-16 19:44:28 +01:00
parent 625146d821
commit a019e59a80
2 changed files with 4 additions and 0 deletions

View File

@ -20,10 +20,12 @@ in {
user = mkOption { user = mkOption {
type = types.str; type = types.str;
default = "dnsmasq"; default = "dnsmasq";
description = "Specifies the unix user which dnsmasq will run as" ;
}; };
group = mkOption { group = mkOption {
type = types.str; type = types.str;
default = "dnsmasq"; default = "dnsmasq";
description = "Specifies the unix group which dnsmasq will run as" ;
}; };
resolvconf = mkOption { resolvconf = mkOption {
type = types.nullOr liminix.lib.types.service; type = types.nullOr liminix.lib.types.service;

View File

@ -34,6 +34,8 @@ in {
options = { options = {
passwd = mkOption { passwd = mkOption {
type = types.str; type = types.str;
description = "encrypted password, as generated by mkpasswd -m sha512crypt";
example = "$6$RIYL.EgWOrtoJ0/7$Z53a8sc0o6AU/kuFOGiLJKhwVavTG/deoM7JTs6luNczYSUsh4UYmhvT8sVzm.l8F/LZXhhhkC7IHQs5UGAIM/";
default = "!!"; default = "!!";
}; };
uid = mkOption { uid = mkOption {