{ adminUser, 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.${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/programs/backups/restic.nix ../home/programs/media/mpv.nix ../home/programs/media/videos.nix ../home/programs/media/yt-dlp.nix ../home/programs/messengers/matrix.nix ../home/programs/security/age.nix ../home/programs/security/yubikey.nix ]; inherit (adminUser) userinfo; }; }