all repos — nixfiles @ a61493600a9aa873943b8eb9a76f1f875da46511

System and user configuration, managed by nix and home-manager

darwin/fish: install macos helper plugin

Alan Pearce
commit

a61493600a9aa873943b8eb9a76f1f875da46511

parent

8d03db89b322c5c3f2c6a53ef567495051e05407

1 file changed, 15 insertions(+), 0 deletions(-)

changed files
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -1,8 +1,13 @@
{ config, + lib, pkgs, ... }: +let + inherit (builtins) map; + inherit (lib) getAttrs removePrefix; +in { home.packages = with pkgs; [ darwin.trash
@@ -24,6 +29,16 @@ (with-eval-after-load 'dired
(setq insert-directory-program "gls" dired-use-ls-dired t)) ''; + + programs.fish.plugins = + map + (getAttrs [ + "name" + "src" + ]) + [ + pkgs.fishPlugins.macos + ]; launchd.agents = { home-manager-expire-generations = {