From c516173cea9a2338b6b18ed389d4e3983f7e7967 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Mon, 16 Jan 2023 15:21:46 -0800 Subject: [PATCH] Fixed/updated broken match blocks I never set `programs.ssh.enable` so the match blocks weren't taking effect (and were incorrectly set anyway). --- users/alejandro/gpg.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/users/alejandro/gpg.nix b/users/alejandro/gpg.nix index 67c2f6c..60e48d7 100644 --- a/users/alejandro/gpg.nix +++ b/users/alejandro/gpg.nix @@ -16,13 +16,14 @@ }; }; - programs.ssh.matchBlocks = [ - { - "github.com" = { - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAbpuKWQFiYhNfKXcYpjWFXsYMh7pyhXdGyV8JPBFzgl"; + programs.ssh = { + enable = true; + matchBlocks = { + "pi" = { + user = "nixos"; }; - } - ]; + }; + }; services.gpg-agent = { enable = true;