home: packages: refactor config format

This commit is contained in:
Bruno BELANYI 2023-12-08 11:49:52 +00:00
parent 3ed2fac3db
commit 22fa05ca0c

View file

@ -17,9 +17,11 @@ in
};
};
config.home.packages = with pkgs; lib.mkIf cfg.enable ([
fd
file
ripgrep
] ++ cfg.additionalPackages);
config = lib.mkIf cfg.enable {
home.packages = with pkgs; ([
fd
file
ripgrep
] ++ cfg.additionalPackages);
};
}