mirror of
https://github.com/Xetibo/ReSet.git
synced 2025-04-12 08:28:32 +02:00
nix: fix toml conversion
This commit is contained in:
parent
f5d0eae840
commit
f729310502
|
@ -34,7 +34,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
plugin_config = mkOption {
|
plugin_config = mkOption {
|
||||||
type = with types; nullOr (listOf toml);
|
# TODO: define type
|
||||||
|
# type = with types; nullOr (listOf toml);
|
||||||
default = null;
|
default = null;
|
||||||
description = mdDoc ''
|
description = mdDoc ''
|
||||||
Toml values passed to the configuration for plugins to use.
|
Toml values passed to the configuration for plugins to use.
|
||||||
|
@ -62,6 +63,6 @@ in
|
||||||
xdg.configFile."reset/ReSet.toml".source = (pkgs.formats.toml { }).generate "reset"
|
xdg.configFile."reset/ReSet.toml".source = (pkgs.formats.toml { }).generate "reset"
|
||||||
{
|
{
|
||||||
plugins = fetchedPlugins;
|
plugins = fetchedPlugins;
|
||||||
} ++ cfg.config.plugin_config;
|
} ++ (pkgs.formats.toml cfg.config.plugin_config);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue