mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
service/octoprint: fix type of plugins
This commit is contained in:
parent
539a8c95e9
commit
bd039d6581
1 changed files with 6 additions and 6 deletions
|
@ -4,14 +4,14 @@ let
|
|||
cfg = config.my.services.octoprint;
|
||||
in
|
||||
{
|
||||
options.my.services.octoprint = with lib; {
|
||||
enable = mkEnableOption "Octoprint Server";
|
||||
options.my.services.octoprint = {
|
||||
enable = lib.mkEnableOption "Octoprint Server";
|
||||
|
||||
plugins = mkOption {
|
||||
type = types.functionTo (types.listOf types.package);
|
||||
plugins = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
default = [ ];
|
||||
defaultText = literalExpression "plugins: []";
|
||||
example = literalExpression "plugins: with plugins; [ themeify stlviewer ]";
|
||||
defaultText = lib.literalExpression "plugins: []";
|
||||
example = lib.literalExpression "plugins: with plugins; [ themeify stlviewer ]";
|
||||
description = lib.mdDoc "Additional plugins to be used. Available plugins are passed through the plugins input.";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue