dotfiles.nix/darwin/default.nix

23 lines
492 B
Nix
Raw Normal View History

2023-10-26 02:37:42 +00:00
{ 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
];
};
}