change encypt key from gnupg to age. And encrypt dae url

This commit is contained in:
ulic-youthlic 2025-01-12 17:18:01 +08:00
parent 7d52c44603
commit 991a8b4bbc
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
9 changed files with 73 additions and 44 deletions

View file

@ -124,8 +124,9 @@
sopsFile = rootPath + "/secrets/ssh-config.yaml";
};
sops.gnupg = {
home = "${config.home.homeDirectory}/.gnupg";
sops.age = {
keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
generateKey = false;
};
sops.defaultSopsFile = rootPath + "/secrets/general.yaml";
}