There is a nix-home-manager module available in the repo as described in the relevant installation page.
Once you have installed it, you can set up automated notifications as follows:
programs.smos = {
enable = true;
notify = {
enable = true;
};
};
See also the reference documentation for this home manager module.