1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

agenix: fix identityPaths

This commit is contained in:
TheGeneralist 2025-06-23 09:13:36 +02:00
parent d34742fd56
commit d82367b7ee
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -1,9 +1,11 @@
{ pkgs, ... }: {
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
agenix
];
age.identityPaths = [
"~/.ssh/id_ed25519"
age.identityPaths = if config.onLinux then [
"/home/thegeneralist/.ssh/id_ed25519"
] else [
"/Users/thegeneralist/.ssh/id_ed25519"
];
}