nixfiles/lib/darwin/apps/default.nix

18 lines
553 B
Nix
Raw Normal View History

2024-05-01 06:01:46 +03:00
{ callPackage, ... }:
# i want to be able to declaratively *provision* gui apps on macos,
# but have them manage themselves later on, not managed by nix-darwin,
# since most of them are auto-updating and managing them entirely through
# nix is a bit of a pain.
#
# homebrew sucks and i don't want to give it *any* recognition, so guess
# i'll just handle dmg's myself :D
{
provisionApps = apps: {
home.activation.provisionApps = ''
set -eau
${builtins.concatStringsSep "\n" apps}
'';
};
} // (callPackage ./productivity.nix {})