fix(lib): mkSecretOption, fix defaults

This commit is contained in:
Jaka Hudoklin 2017-12-19 09:39:54 +01:00
parent dcbb4ce2bb
commit 3ad7f6f8e6
2 changed files with 4 additions and 3 deletions

View file

@ -68,7 +68,5 @@ rec {
inherit (value) name key; inherit (value) name key;
}; };
}; };
default = null;
}); });
} }

View file

@ -15,7 +15,10 @@ with lib;
password = mkSecretOption { password = mkSecretOption {
description = "Nginx simple auth credentials"; description = "Nginx simple auth credentials";
default = null; default = {
key = "test";
name = "test";
};
}; };
}; };