diff options
Diffstat (limited to '')
| -rw-r--r-- | machines/mbp-work.nix | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/machines/mbp-work.nix b/machines/mbp-work.nix index b0541ac..a47d0a8 100644 --- a/machines/mbp-work.nix +++ b/machines/mbp-work.nix @@ -1,4 +1,9 @@ -{ adminUser, pkgs, ... }: +{ + adminUser, + pkgs, + lib, + ... +}: { imports = [ ../profiles/darwin.nix @@ -16,7 +21,39 @@ home.homeDirectory = "/Users/${adminUser.name}"; imports = [ ../home/profiles/mac.nix - ../home/profiles/work.nix + ../programs/dev/k8s.nix + ../programs/dev/k9s.nix + ../programs/dev/kubie.nix + ../programs/security/hashi.nix + ../programs/security/sapi.nix + ]; + home.packages = with pkgs; [ + awscli2 + boundary # for secure remote access + grpcurl + tfswitch + vault + ]; + programs.onepassword.sshKeys = lib.mkAfter [ + { + account = "roblox.1password.com"; + vault = "Private"; + } ]; + programs.ssh.matchBlocks."github.rbx.com" = { + hostname = "github.rbx.com"; + user = "git"; + forwardAgent = false; + extraOptions = { + preferredAuthentications = "publickey"; + controlMaster = "no"; + controlPath = "none"; + }; + }; + programs.git.extraConfig.url = { + "ssh://git@github.rbx.com/" = { + insteadOf = "https://github.rbx.com/"; + }; + }; }; } |
