aboutsummaryrefslogblamecommitdiff
path: root/machines/mba-personal.nix
blob: 0804043d1fefce674775d5a86eb6549b2493d14c (plain) (tree)
1
2
3
4
5
6
7
8
9
              
 
                                                                          
 
             


                                  
    





                                                        


                          

    
                              
                                

                                        
               

                                   
      



                                 
    
 
{ pkgs, ... }:
{
  age.secrets.ssh-remote-builder.file = ../secrets/ssh-remote-builder.age;

  imports = [
    ../profiles/darwin.nix
    ../profiles/home-manager.nix
    ../profiles/remote-builder.nix
  ];

  # https://github.com/nix-darwin/nix-darwin/issues/1339
  ids.gids.nixbld = 30000;

  networking.hostName = "mba-m2";

  users.users.fcuny = {
    home = "/Users/fcuny";
    shell = pkgs.fish;
  };

  home-manager.users.fcuny = {
    home.stateVersion = "23.05";
    home.username = "fcuny";
    home.homeDirectory = "/Users/fcuny";
    imports = [
      ../home/profiles/darwin.nix
      ../home/profiles/personal.nix
    ];
    userinfo = {
      email = "franck@fcuny.net";
      fullName = "Franck Cuny";
    };
  };
}