modules: secrets: move non-existent key workaround

Since this configuration was only there to accommodate `aramis`, make it
be host-specific instead, and rely on the default value otherwise.
This commit is contained in:
Bruno BELANYI 2023-04-13 17:23:22 +00:00
parent 6079485b50
commit ed745602a1
2 changed files with 5 additions and 5 deletions

View file

@ -16,5 +16,10 @@
secrets = import ./secrets.nix;
in
lib.mapAttrs' convertSecrets secrets;
identityPaths = [
# Due to being a laptop, this host does not itself have any SSH keys
"/home/ambroisie/.ssh/id_ed25519"
];
};
}

View file

@ -20,10 +20,5 @@
secrets = import ./secrets.nix;
in
lib.mapAttrs' convertSecrets secrets;
identityPaths = options.age.identityPaths.default ++ [
# FIXME: hard-coded path, could be inexistent
"/home/ambroisie/.ssh/id_ed25519"
];
};
}