Skip to content

Commit

Permalink
nix: fix toml conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed May 30, 2024
1 parent f5d0eae commit f729310
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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);
};
}

0 comments on commit f729310

Please sign in to comment.