diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-02 13:06:05 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-02 13:06:05 -0800 |
| commit | cb961051f8307a0bfd6e75acb52a7b7ac003e4d0 (patch) | |
| tree | c2e3e29716bf10bb5d95d2c11d8692672c379c5f /home/profiles/work.nix | |
| parent | move remote-unlock as a profile (diff) | |
| download | infra-cb961051f8307a0bfd6e75acb52a7b7ac003e4d0.tar.gz | |
simplify configuration for darwin
Diffstat (limited to 'home/profiles/work.nix')
| -rw-r--r-- | home/profiles/work.nix | 22 |
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"; |
