run packer sync on nix rebuild

This commit is contained in:
Noah Masur 2022-07-10 23:48:11 +00:00
parent 5243003bad
commit e9f85b815b

View File

@ -32,6 +32,13 @@
};
};
# Always run packer.nvim sync
home.activation.nvimPackerSync =
config.home-manager.users.${config.user}.lib.dag.entryAfter
[ "writeBoundary" ] ''
$DRY_RUN_CMD nvim +PackerSync +qa
'';
};
# Used for icons in Vim