diff --git a/modules/git.nix b/modules/git.nix index aebf81d..9aa147d 100644 --- a/modules/git.nix +++ b/modules/git.nix @@ -1,4 +1,4 @@ -{ lib, ulib, pkgs, ... }: with ulib; merge +{ lib, ulib, pkgs, ... }: with ulib; merge3 (homeConfiguration { programs.nushell.shellAliases = { @@ -125,6 +125,18 @@ }; }) +(desktopHomeConfiguration { + programs.nushell.shellAliases = { + "??" = "gh copilot suggest --target shell"; + "gh?" = "gh copilot suggest --target gh"; + "git?" = "gh copilot suggest --target git"; + }; + + programs.gh = enabled { + settings.git_protocol = "ssh"; + }; +}) + (systemPackages (with pkgs; [ git-absorb tig