aboutsummaryrefslogtreecommitdiff
path: root/home/profiles/work.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/work.nix')
-rw-r--r--home/profiles/work.nix22
1 files changed, 15 insertions, 7 deletions
diff --git a/home/profiles/work.nix b/home/profiles/work.nix
index 28cf820..04dc61e 100644
--- a/home/profiles/work.nix
+++ b/home/profiles/work.nix
@@ -1,9 +1,4 @@
-{
- lib,
- self,
- pkgs,
- ...
-}:
+{ lib, pkgs, ... }:
let
nomad-prod = pkgs.writeShellScriptBin "nomad-prod" ''
set -e
@@ -53,7 +48,6 @@ let
in
{
imports = [
- "${self}/home/programs/gh.nix"
./k8s.nix
];
@@ -68,6 +62,19 @@ in
vault
];
+ programs.gh = {
+ enable = true;
+ settings = {
+ version = 1;
+ git_protocol = "ssh";
+ prompt = "enabled";
+ aliases = {
+ co = "pr checkout";
+ vw = "pr view --web";
+ };
+ };
+ };
+
programs.onepassword.sshKeys = lib.mkAfter [
{
account = "roblox.1password.com";
@@ -79,6 +86,7 @@ in
shellAbbrs =
let
environments = [
+ o
{
name = "chi1";
alias = "chi1";