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; [
|
||||
agenix
|
||||
];
|
||||
|
||||
age.identityPaths = [
|
||||
"~/.ssh/id_ed25519"
|
||||
age.identityPaths = if config.onLinux then [
|
||||
"/home/thegeneralist/.ssh/id_ed25519"
|
||||
] else [
|
||||
"/Users/thegeneralist/.ssh/id_ed25519"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue