files.license.enable
type
boolean
example
{
files.license.enable = true;
}
default
{
files.license.enable = false;
}
files.license.spdx
type
submodule
example
{
files.license.spdx = {
name = "MIT";
vars = {
"copyright holders" = "Cruel Intentions";
year = "2021";
};
};
}
default
{
files.license.spdx = { };
}
files.license.spdx.name
type
string
example
{
files.license.spdx.name = "MIT";
}
files.license.spdx.vars
type
attribute set of string
example
{
files.license.spdx.vars = {
OWNER = "cruel-intentions";
"URL for Development Group/Institution" = "https://github.com/cruel-intentions";
year = "2021";
"yyyy, yyyy" = "2021, 2099";
};
}
default
{
files.license.spdx.vars = { };
}