23 lines
492 B
Nix
23 lines
492 B
Nix
{ self, config, ... }: {
|
|
flake.darwinModules = {
|
|
me = let inherit (config.people) me;
|
|
in {
|
|
home-manager.users.${me} = { imports = [ self.homeModules.darwin ]; };
|
|
users.users.${me} = {
|
|
name = me;
|
|
home = "/Users/${me}";
|
|
};
|
|
};
|
|
|
|
default.imports = [
|
|
self.darwinModules.home-manager
|
|
self.darwinModules.me
|
|
self.nixosModules.common
|
|
./fish.nix
|
|
./fonts.nix
|
|
./homebrew.nix
|
|
./system-defaults.nix
|
|
];
|
|
};
|
|
}
|