diff --git a/blueplum.nix b/blueplum.nix index 0ade1cd..1a3e190 100644 --- a/blueplum.nix +++ b/blueplum.nix @@ -101,4 +101,11 @@ in ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="056a", TAG+="systemd", ENV{SYSTEMD_USER_WANTS}+="wacom.service" ''; }; + + homeManager = { + programs.git.signing = { + signByDefault = true; + key = "60649DFDEAACD73D"; + }; + }; } diff --git a/home.nix b/home.nix index ec67fed..dfa6b1e 100644 --- a/home.nix +++ b/home.nix @@ -96,15 +96,6 @@ in programs.git = { enable = true; - # signing = - # if (env.git or { }) ? signingKey then - # { - # key = env.git.signingKey; - # signByDefault = true; - # } - # else - # { signByDefault = false; }; - settings = { user.name = "Anton"; user.email = "aligator.h0spital.e@gmail.com"; @@ -128,10 +119,10 @@ in }; "url \"ssh://git@github.com/\"".insteadOf = "gh:"; - "url \"ssh://git@github.com/antonw51\"".insteadOf = "gh:me"; + "url \"ssh://git@github.com/antonw51\"".insteadOf = "gh/me:"; "url \"ssh://git@ip.louiscreates.com/\"".insteadOf = "tea:"; - "url \"ssh://git@ip.louiscreates.com/antonw51\"".insteadOf = "tea:me"; + "url \"ssh://git@ip.louiscreates.com/antonw51\"".insteadOf = "tea/me:"; alias.ref = "show -s --pretty = reference"; }; @@ -197,8 +188,6 @@ in }; }; - # programs.vesktop = pkgs.callPackage { }; - services.gpg-agent = { enable = true; enableSshSupport = true;