diff options
Diffstat (limited to 'modules/programs/ssh/git.nix')
| -rw-r--r-- | modules/programs/ssh/git.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/programs/ssh/git.nix b/modules/programs/ssh/git.nix index de4fb40..9683629 100644 --- a/modules/programs/ssh/git.nix +++ b/modules/programs/ssh/git.nix @@ -1,9 +1,6 @@ { config, lib, ... }: let - homeDir = config.home.homeDirectory; - keyDir = "${homeDir}/.local/share/ssh/git"; - hosts = [ { domain = "github.com"; @@ -32,7 +29,7 @@ let lib.nameValuePair domain { hostname = domain; user = "git"; - identityFile = "${keyDir}/${identityName}"; + identityFile = "${config.home.homeDirectory}/.local/share/ssh/git/${identityName}"; }; mkKeyFile = |
