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; + }; }; }; }