blob: 5b0487cc7d18bb8a47b76d41b11b4de9d8ec2337 (
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
|
{ 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/profiles/personal.nix
];
inherit (adminUser) userinfo;
};
}
|