aboutsummaryrefslogtreecommitdiff
path: root/home/programs/gh.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 08:52:51 -0700
commit61fa2329f553f9c7962e968e1ec98ae675903b70 (patch)
tree0afdbf7c8fddda1718abee49db6206a5f8df5b09 /home/programs/gh.nix
parentdirectories first (diff)
downloadinfra-61fa2329f553f9c7962e968e1ec98ae675903b70.tar.gz
users -> home
Diffstat (limited to 'home/programs/gh.nix')
-rw-r--r--home/programs/gh.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/programs/gh.nix b/home/programs/gh.nix
new file mode 100644
index 0000000..b194b35
--- /dev/null
+++ b/home/programs/gh.nix
@@ -0,0 +1,15 @@
+{ ... }:
+{
+ programs.gh = {
+ enable = true;
+ settings = {
+ version = 1;
+ git_protocol = "ssh";
+ prompt = "enabled";
+ aliases = {
+ co = "pr checkout";
+ vw = "pr view --web";
+ };
+ };
+ };
+}