From f7293105028cba84dc0cd41149adfb59e9cb80f4 Mon Sep 17 00:00:00 2001 From: DashieTM Date: Thu, 30 May 2024 19:38:55 +0200 Subject: [PATCH] nix: fix toml conversion --- nix/hm.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/hm.nix b/nix/hm.nix index e710825..048240e 100644 --- a/nix/hm.nix +++ b/nix/hm.nix @@ -34,7 +34,8 @@ in }; plugin_config = mkOption { - type = with types; nullOr (listOf toml); + # TODO: define type + # type = with types; nullOr (listOf toml); default = null; description = mdDoc '' 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" { plugins = fetchedPlugins; - } ++ cfg.config.plugin_config; + } ++ (pkgs.formats.toml cfg.config.plugin_config); }; }