aboutsummaryrefslogblamecommitdiff
path: root/machines/mbp-work.nix
blob: b0541ac58b52f2af2b34c532ed2120dbbc351e7d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                         
 
             

                                
                                      

    

                                      
                      

    
                                          
                                
                                                    
               

                               
      
    
 
{ 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/mac.nix
      ../home/profiles/work.nix
    ];
  };
}