28 lines
590 B
Nix
28 lines
590 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
# Some user-level dotfiles
|
|
home.file = {
|
|
".ssh/config".text = ''
|
|
Host *
|
|
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
|
'';
|
|
|
|
".gitconfig".text = ''
|
|
[user]
|
|
name = swaphb
|
|
email = s@swaphb.com
|
|
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJx0WMlfx+AwcROXFO+/all/WkLvBKpEkjwRY15tjSiB
|
|
|
|
[gpg]
|
|
format = ssh
|
|
|
|
[gpg "ssh"]
|
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
|
|
|
[commit]
|
|
gpgSign = true
|
|
'';
|
|
};
|
|
}
|