What seems to be a workable config
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let name = "%NAME%";
|
||||
user = "%USER%";
|
||||
email = "%EMAIL%"; in
|
||||
let name = "olaf";
|
||||
user = "olaf";
|
||||
email = "github@dacht.net"; in
|
||||
{
|
||||
# Shared shell configuration
|
||||
zsh = {
|
||||
@ -270,12 +269,14 @@ let name = "%NAME%";
|
||||
)
|
||||
];
|
||||
matchBlocks = {
|
||||
"Host *" = {
|
||||
identityAgent="\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
|
||||
};
|
||||
"github.com" = {
|
||||
identitiesOnly = true;
|
||||
identityFile = [
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux
|
||||
"/home/${user}/.ssh/id_github"
|
||||
)
|
||||
"/home/${user}/.ssh/id_github" )
|
||||
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin
|
||||
"/Users/${user}/.ssh/id_github"
|
||||
)
|
||||
|
Reference in New Issue
Block a user