dotfiles.nix/darwin/default.nix

24 lines
518 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
2023-12-23 01:49:53 +00:00
./copy-apps.nix
2023-10-26 02:37:42 +00:00
./fish.nix
./fonts.nix
./homebrew.nix
./system-defaults.nix
];
};
}