aboutsummaryrefslogtreecommitdiff
path: root/users/profiles/gh.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-21 19:38:03 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-21 19:38:03 -0700
commite6a47bb3eb1e757b947c6c48720e47592fe98741 (patch)
tree97c0245e00e14655ff7ed3529b6c796c47dd3c1d /users/profiles/gh.nix
parentkeep organizing into modules and profiles (diff)
downloadinfra-e6a47bb3eb1e757b947c6c48720e47592fe98741.tar.gz
install gh only on work machine
Diffstat (limited to '')
-rw-r--r--users/profiles/gh.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/users/profiles/gh.nix b/users/profiles/gh.nix
new file mode 100644
index 0000000..bf74766
--- /dev/null
+++ b/users/profiles/gh.nix
@@ -0,0 +1,16 @@
+{ ... }:
+{
+ programs.gh = {
+ enable = true;
+
+ settings = {
+ version = 1;
+ git_protocol = "ssh";
+ prompt = "enabled";
+ aliases = {
+ co = "pr checkout";
+ vw = "pr view --web";
+ };
+ };
+ };
+}