From 784ac3fd221a477cccc168e90baea2a22509d7c2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 11 Mar 2023 13:24:35 -0800 Subject: secrets: use homeage to manage secrets for home-manager Instead of using agenix for all the secrets, I can use homeage for secrets that are related to my user sessions. Secrets by default will be store under `~/.secrets'. They are encrypted using `age' and to decrypt them, a key is expected to be located under `~/.age/key.txt'. The last place where I was using `pass' (and so GPG too) was for the secrets for `mbsync': this change adds a secret for fastmail to the repository and update `mbsync' configuration to use it. --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index d82a782..f08ceb7 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,11 @@ }; }; + homeage = { + url = "github:jordanisaacs/homeage"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + rust = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; -- cgit v1.2.3