diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2016-02-29 01:47:12 +0100 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2016-02-29 01:47:12 +0100 |
commit | 2d6696fc0a23976498d0033d03382880e24e953d (patch) | |
tree | 8f95c3de3846a4082f5ab39674cfd1c110312e86 /nixos/modules/services/misc | |
parent | cad8957eabcbf73062226d28366fd446c15c8737 (diff) | |
download | nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.gz nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.bz2 nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.lz nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.xz nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.tar.zst nixpkgs-2d6696fc0a23976498d0033d03382880e24e953d.zip |
nixos-modules: Fixes related to "literalExample" and "defaultText".
Diffstat (limited to 'nixos/modules/services/misc')
-rw-r--r-- | nixos/modules/services/misc/octoprint.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/octoprint.nix b/nixos/modules/services/misc/octoprint.nix index bb9dc5da2eb..150056b8ab0 100644 --- a/nixos/modules/services/misc/octoprint.nix +++ b/nixos/modules/services/misc/octoprint.nix @@ -62,7 +62,9 @@ in }; plugins = mkOption { + type = types.functionTo (types.listOf types.package); default = plugins: []; + defaultText = "plugins: []"; example = literalExample "plugins: [ m3d-fio ]"; description = "Additional plugins."; }; |