Skip to content

Commit

Permalink
fix: use explicit identity paths for agenix
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Jan 30, 2024
1 parent dedbb9f commit 30bcd42
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions shared/modules/agenix.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ pkgs, lib, config, options, ... }:
with lib;

{
config = {
age = {
identityPaths = [
"/etc/ssh/ssh_host_ed25519_key"
"~/.ssh/id_ed25519"
];
};
};
}
1 change: 1 addition & 0 deletions shared/modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

{
imports = [
./agenix.nix
./global.nix
./network.nix
./nixpkgs.nix
Expand Down

0 comments on commit 30bcd42

Please sign in to comment.