diff --git a/hosts/lappy/lappy.nix b/hosts/lappy/lappy.nix index 6e76182..4f995c0 100644 --- a/hosts/lappy/lappy.nix +++ b/hosts/lappy/lappy.nix @@ -40,7 +40,17 @@ in { home-manager.users.root = { imports = with tree; [ home.base ]; }; home-manager.users.chaos = { programs.ssh.matchBlocks."*".identityFile = "${usb_data.ssh_priv_path}"; + programs.git = { + extraConfig = { + gpg = { format = "ssh"; }; + user = { + signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAeN3T1aZkTm5xS0b66cRDyKUbdEQCFyzVWXeW+eIbsa chaos@chaos"; + }; + commit = { gpgsign = "true";}; + tag = { gpgsign = "true";}; + }; + }; imports = with tree; [ home.base home.dev.all