dotfiles.nix/darwin/default.nix

23 lines
496 B
Nix
Raw Normal View History

2023-10-26 02:37:42 +00:00
{ self, config, ... }: {
flake.darwinModules = {
home = let inherit (config.users) me;
2023-10-26 02:37:42 +00:00
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.home
2023-10-26 02:37:42 +00:00
self.nixosModules.common
./fish.nix
./fonts.nix
./homebrew.nix
./system-defaults.nix
];
};
}