mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 17:35:25 +08:00
21 lines
450 B
Nix
21 lines
450 B
Nix
{ self, config, ... }:
|
|
{
|
|
# Configuration common to all macOS systems
|
|
flake = {
|
|
darwinModules = {
|
|
my-home = {
|
|
home-manager.users.${config.people.myself} = { pkgs, ... }: {
|
|
imports = [
|
|
self.homeModules.common-darwin
|
|
];
|
|
};
|
|
};
|
|
|
|
default.imports = [
|
|
self.darwinModules_.home-manager
|
|
self.darwinModules.my-home
|
|
self.nixosModules.common
|
|
];
|
|
};
|
|
};
|
|
}
|