From 862c5d6785a78663c55c578ce4f5ffd0fabca238 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Tue, 24 Mar 2026 14:18:40 -0500 Subject: [PATCH] oscar, sam: Make git.signing.format explicit https://github.com/nix-community/home-manager/commit/b92cad188cf6977dc3e215099144db68c854d6f9 git: warn on signing format default change The default value for programs.git.signing.format changed in 25.05 from an implicit "openpgp" to null. Keep the existing gated mkOptionDefault behavior so the signing block only materializes when other signing settings are in use, but route the versioned value and static docs text through the shared state-version helper. Add a focused current-state-version test that covers a non-empty signing configuration with no explicit format, alongside the existing legacy implicit-openpgp and explicit-format tests. --- oscar/configuration.nix | 1 + sam/configuration.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 1d678aa..762d581 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -252,6 +252,7 @@ programs.git = { enable = true; lfs.enable = true; + signing.format = "openpgp"; # TODO: delta or diff-so-fancy or difftastic settings = { user.name = "Chandler Swift"; diff --git a/sam/configuration.nix b/sam/configuration.nix index 20333f6..4d261ff 100644 --- a/sam/configuration.nix +++ b/sam/configuration.nix @@ -171,6 +171,7 @@ programs.git = { enable = true; lfs.enable = true; + signing.format = "openpgp"; # TODO: delta or diff-so-fancy or difftastic settings = { user.name = "Chandler Swift";