I recently automated my restic backups in NixOS and wrote a blog post about it. It also includes a short section about agenix and desktop notifications with libnotify (in case a backup fails). I’ve been using NixOS as my main OS on my desktop pc for a year now. This post is aimed at beginners like me who want to have something to get started with.
I’d appreciate any feedback! For example if the code can be improved, or there are better solutions for this, or maybe the writing is not clear enough.
Welcome to NixOS discourse! And thanks for the blog post. First feedback I will give is that this appears to be an interesting topic and I will surely read it.
I’ve updated to 23.11 today and tried the wrapper. It works great, very useful addition. I’ve updated the blog post to restore backups using the wrapper.