From ada1a9448ada0ccb29152474570c6b97d9e94c66 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 25 Mar 2025 08:39:50 +0100 Subject: [PATCH 1/2] feat(gh): add gh-copilot --- horsch/github.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/horsch/github.nix b/horsch/github.nix index 2015359..8841ca4 100644 --- a/horsch/github.nix +++ b/horsch/github.nix @@ -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 + ]; }; }; } From 49dda752cb8196f8e2be1e4794ba571eb3bb5629 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 25 Mar 2025 08:40:22 +0100 Subject: [PATCH 2/2] feat(gh): add gh-dash --- horsch/github.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/horsch/github.nix b/horsch/github.nix index 8841ca4..1bb5783 100644 --- a/horsch/github.nix +++ b/horsch/github.nix @@ -15,7 +15,15 @@ extensions = with pkgs; [ gh-copilot + gh-dash ]; }; + + gh-dash = { + enable = true; + + settings = { + }; + }; }; }