Commit 16b65773bd91
home/common/shell/gh.nix
@@ -0,0 +1,22 @@
+{ pkgs, ... }:
+{
+ programs.gh = {
+ enable = true;
+ extensions = with pkgs; [
+ gh-copilot
+ gh-dash
+ gh-f
+ gh-poi
+ gh-s
+ gh-news
+ ];
+ settings = {
+ git_protocol = "ssh";
+ prompt = "enabled";
+ editor = "emacsclient -t";
+ aliases = {
+ co = "pr checkout";
+ };
+ };
+ };
+}
home/common/shell/git.nix
@@ -54,25 +54,6 @@ in
difftastic
];
- programs.gh = {
- enable = true;
- extensions = with pkgs; [
- gh-copilot
- gh-dash
- gh-f
- gh-poi
- gh-s
- gh-news
- ];
- settings = {
- git_protocol = "ssh";
- prompt = "enabled";
- editor = "emacsclient -t";
- aliases = {
- co = "pr checkout";
- };
- };
- };
programs.git = {
enable = true;
package = pkgs.git;
systems/aomi/home.nix
@@ -6,6 +6,7 @@
../../home/common/dev/containers.nix
../../home/common/dev/tektoncd.nix
../../home/common/desktop/passage.nix
+ ../../home/common/shell/gh.nix
];
systemd.user.services.syncthing.Install.WantedBy = [ "multi-user.target" ];
systems/kyushu/home.nix
@@ -15,6 +15,7 @@ in
../../home/common/services/goimapnotify.nix
../../home/common/services/mail-monitor.nix
../../home/common/services/redhat.nix
+ ../../home/common/shell/gh.nix
];
home.file.".gmailctl/config.jsonnet".source = ./config.jsonnet;