···2121Here's the basic scaffolding you'll need for your Nix configuration:
22222323> configuration.nix
2424+2425```nix
2526{ config, pkgs, ... }:
2627···4546and then the home-manager bit
46474748> shell.nix in home manager
4949+4850```nix
4951{ config, pkgs, ... }:
5052···78807981Now saving the secrets with agenix is not particularly tricky you just have to know that this is an option. Run `agenix -e atuin-session.age` and then paste in the session from `~/.local/share/atuin/session` and then instead of just saving like normal you need to run `:set binary` and then `:set noeol` and then you can save the file like normal.
80828181-Anyways now i'm enjoying my stats and it's on to the next project (proly [serif.blue](https://tangled.sh/@dunkirk.sh/serif) 👀)
8383+Anyways now i'm enjoying my stats and it's on to the next project (proly [serif.blue](https://tangled.org/@dunkirk.sh/serif) 👀)
82848385```
8486> atuin stats