diff --git a/modules/nixos/django-apps/default.nix b/modules/nixos/django-apps/default.nix index 4313bbb..0aa9ec3 100644 --- a/modules/nixos/django-apps/default.nix +++ b/modules/nixos/django-apps/default.nix @@ -326,12 +326,18 @@ in type = str; readOnly = true; default = "/var/lib/django-apps/${name}"; + description = '' + The directory containing the various files necessary for the website to function. + ''; }; sourceDirectory = mkOption { type = str; readOnly = true; default = "${config.baseDirectory}/source"; + description = '' + The path where the source code of the django application will be stored. It is an absolute path. + ''; }; staticDirectory = mkOption { @@ -355,6 +361,10 @@ in } ) ); + default = { }; + description = '' + The set of django websites to deploy. + ''; }; };