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 ([
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; ([
|
||||||
fd
|
fd
|
||||||
file
|
file
|
||||||
ripgrep
|
ripgrep
|
||||||
] ++ cfg.additionalPackages);
|
] ++ cfg.additionalPackages);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue