home: packages: refactor config format
This commit is contained in:
parent
3ed2fac3db
commit
22fa05ca0c
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue