virtualisation.lxc: add default for .templates

This commit is contained in:
Maciej Krüger 2021-04-30 21:53:01 +02:00
parent cc1e70f839
commit 8eac2a669a
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -62,6 +62,7 @@ in
templates = mkOption {
description = "Templates for LXD";
type = types.attrsOf (types.submodule (templateSubmodule));
default = {};
example = literalExample ''
{
# create /etc/hostname on container creation