mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 00:17:24 +08:00
23 lines
510 B
Nix
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
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|