12 lines
344 B
Nix
12 lines
344 B
Nix
{...}: let
|
|
encryptedUSBData = import ../data/drives/encryptedUSB.nix;
|
|
in {
|
|
programs.ssh.matchBlocks."*".identityFile = "${encryptedUSBData.sshPrivateKeyPath}";
|
|
programs.git.extraConfig = {
|
|
gpg.format = "ssh";
|
|
commit.gpgsign = "true";
|
|
tag.gpgsign = "true";
|
|
user.signingKey = "${encryptedUSBData.sshPrivateKeyPath}";
|
|
};
|
|
}
|