nixos-config/nix-darwin/default.nix
2022-12-03 21:57:30 -05:00

23 lines
510 B
Nix

{ self, inputs, config, ... }:
{
# Configuration common to all macOS systems
flake = {
darwinModules = {
myself = {
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-darwin
../home/shellcommon.nix
../home/git.nix
];
};
};
default.imports = [
self.darwinModules.home-manager
self.darwinModules.myself
../nixos/caches
];
};
};
}