2022-12-04 13:45:43 +00:00
|
|
|
{...}: let
|
|
|
|
usb_data = import ../data/usb_data.nix {};
|
2022-11-10 14:57:07 +00:00
|
|
|
in {
|
|
|
|
programs.ssh.matchBlocks."*".identityFile = "${usb_data.ssh_priv_path}";
|
|
|
|
programs.git.extraConfig = {
|
|
|
|
gpg.format = "ssh";
|
|
|
|
commit.gpgsign = "true";
|
|
|
|
tag.gpgsign = "true";
|
2022-12-04 13:45:43 +00:00
|
|
|
user = {signingKey = "${usb_data.ssh_priv_path}";};
|
2022-11-10 14:57:07 +00:00
|
|
|
};
|
|
|
|
}
|