From b73d1b161a34b0e6220f5d2c2e67096b5d6bc891 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 15 Oct 2022 11:10:35 +0200 Subject: [PATCH] make path absolute for git signing key but disable for now --- modules/shell/git.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/shell/git.nix b/modules/shell/git.nix index 9e6acd1..c3cf983 100644 --- a/modules/shell/git.nix +++ b/modules/shell/git.nix @@ -1,6 +1,7 @@ # # Git # +{ user, ... }: { programs = { @@ -10,9 +11,9 @@ userEmail = "tobias@opel-online.de"; lfs.enable = true; signing = { - key = ~/.ssh/id_ed25519_sk_yubi_C; - signByDefault = true; - } + key = "/home/${user}/.ssh/id_ed25519_sk_rk_yubiC"; + signByDefault = false; + }; }; }; }