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 = {
enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"gh-copilot"
];
settings = {
git_protocol = "ssh";
programs = {
gh = {
enable = true;
settings = {
git_protocol = "ssh";
};
extensions = with pkgs; [
gh-copilot
];
};
};
}