aboutsummaryrefslogtreecommitdiff
path: root/machines/mbp-work.nix
blob: 16d9c59fa3218504cfa53942962635997204fe08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ adminUser, pkgs, ... }:
{
  imports = [
    ../profiles/darwin.nix
    ../profiles/home-manager.nix
    ../profiles/users/home-manager.nix
  ];

  users.users.${adminUser.name} = {
    home = "/Users/${adminUser.name}";
    shell = pkgs.fish;
  };

  home-manager.users.${adminUser.name} = {
    home.stateVersion = "23.05";
    home.homeDirectory = "/Users/${adminUser.name}";
    imports = [
      ../home/profiles/darwin.nix
      ../home/profiles/development.nix
      ../home/profiles/k8s.nix
      ../home/programs/hashi.nix
      ../home/programs/sapi.nix
    ];
    home.packages = with pkgs; [
      _1password-cli
      awscli2
      boundary # for secure remote access
      grpcurl
      tfswitch
      vault
    ];
  };
}