aboutsummaryrefslogtreecommitdiff
path: root/users/profiles/gh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/profiles/gh.nix')
-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";
+ };
+ };
+ };
+}