feat(gh): add gh-copilot

This commit is contained in:
Michael Mandl 2025-03-25 08:39:50 +01:00
parent dc6a6c95ff
commit ada1a9448a
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2

View file

@ -1,11 +1,21 @@
{ ... }: { pkgs, lib, ... }:
{ {
programs.gh = { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"gh-copilot"
];
programs = {
gh = {
enable = true; enable = true;
settings = { settings = {
git_protocol = "ssh"; git_protocol = "ssh";
}; };
extensions = with pkgs; [
gh-copilot
];
};
}; };
} }