12 lines
337 B
Nix
12 lines
337 B
Nix
|
{...}: let
|
||
|
encryptedUSBData = import ../data/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}";
|
||
|
};
|
||
|
}
|