feat(gh): add gh-copilot
This commit is contained in:
parent
dc6a6c95ff
commit
ada1a9448a
1 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue