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:
parent
d34742fd56
commit
d82367b7ee
1 changed files with 5 additions and 3 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, config, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
agenix
|
agenix
|
||||||
];
|
];
|
||||||
|
|
||||||
age.identityPaths = [
|
age.identityPaths = if config.onLinux then [
|
||||||
"~/.ssh/id_ed25519"
|
"/home/thegeneralist/.ssh/id_ed25519"
|
||||||
|
] else [
|
||||||
|
"/Users/thegeneralist/.ssh/id_ed25519"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue