Re-format common

This commit is contained in:
Natsu Kagami 2021-10-30 12:10:54 -04:00
parent f1099c488e
commit 74d81a4e63
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -96,9 +96,15 @@
gh = { gh = {
enable = true; enable = true;
gitProtocol = lib.mkIf (config.home.stateVersion == "21.05") "ssh"; } // (
settings.git_protocol = lib.mkIf (config.home.stateVersion == "21.11") "ssh"; let
}; protocol = "ssh";
in
if (config.home.stateVersion == "21.05") then
{ gitProtocol = "ssh"; }
else
{ settings.git_protocol = protocol; }
);
git = { git = {
enable = true; enable = true;