aboutsummaryrefslogtreecommitdiff
path: root/users/programs/gh.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-07-26 11:01:53 -0700
committerFranck Cuny <franck@fcuny.net>2025-07-26 11:01:53 -0700
commit17e871833d66f7fc6a6fcab043e51b196f103855 (patch)
tree1bcb86bbee7fade4015745536aa6ae33804a99fe /users/programs/gh.nix
parentfix alacritty configuration (diff)
downloadinfra-17e871833d66f7fc6a6fcab043e51b196f103855.tar.gz
moved every programs under users/programs
Configurations specific to work are managed in the work profile.
Diffstat (limited to 'users/programs/gh.nix')
-rw-r--r--users/programs/gh.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/programs/gh.nix b/users/programs/gh.nix
new file mode 100644
index 0000000..b194b35
--- /dev/null
+++ b/users/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";
+ };
+ };
+ };
+}