Skip to content

Commit

Permalink
nix: use plugins and package without list
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 3, 2024
1 parent 38316f6 commit a8e5b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ in
lib.mkIf
cfg.enable
{
home.packages = [
(lib.optional (cfg.package != null) cfg.package)
] ++ cfg.config.plugins;
home.packages = lib.optional (cfg.package != null) cfg.package ++ cfg.config.plugins;



xdg.configFile."reset/ReSet.toml".source = (pkgs.formats.toml cfg.config.plugin_config).generate "reset"
{
Expand Down

0 comments on commit a8e5b1b

Please sign in to comment.