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 = {
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue