mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
21 lines
435 B
Nix
21 lines
435 B
Nix
{ self, config, ... }:
|
|
{
|
|
# Configuration common to all macOS systems
|
|
flake = {
|
|
darwinModules = {
|
|
my-home = {
|
|
home-manager.users.${config.people.myself} = {
|
|
imports = [
|
|
self.homeModules.common-darwin
|
|
];
|
|
};
|
|
};
|
|
|
|
default.imports = [
|
|
self.darwinModules_.home-manager
|
|
self.darwinModules.my-home
|
|
self.nixosModules.common
|
|
];
|
|
};
|
|
};
|
|
}
|