2024-02-25 14:51:19 +01:00
|
|
|
{
|
2024-03-09 12:21:37 +01:00
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
age.identityPaths = ["${config.home.homeDirectory}/.ssh/agenix"]; # Use this key to decrypt
|
2024-02-25 14:51:19 +01:00
|
|
|
home.packages = [
|
|
|
|
inputs.agenix.packages.x86_64-linux.default # Install CLI tool to encrypt
|
|
|
|
];
|
|
|
|
age.secrets.xqtc_id_ed25519 = {
|
|
|
|
file = ../secrets/xqtc_id_ed25519.age;
|
|
|
|
path = "${config.home.homeDirectory}/.ssh/id_ed25519";
|
|
|
|
mode = "600";
|
|
|
|
};
|
|
|
|
age.secrets.xqtc_id_ed25519_pub = {
|
|
|
|
file = ../secrets/xqtc_id_ed25519_pub.age;
|
|
|
|
path = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
|
|
|
|
mode = "640";
|
|
|
|
};
|
|
|
|
}
|