mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-29 05:41:52 +02:00
18 lines
387 B
Nix
18 lines
387 B
Nix
args:
|
|
with args; let
|
|
macosSystem = import ../lib/macosSystem.nix;
|
|
system = x64_darwin;
|
|
base_args = {
|
|
inherit nix-darwin home-manager system;
|
|
specialArgs = x64_darwin_specialArgs;
|
|
nixpkgs = nixpkgs-darwin;
|
|
};
|
|
in {
|
|
# macOS's configuration, for work.
|
|
darwinConfigurations = {
|
|
harmonica =
|
|
macosSystem (base_args
|
|
// darwin_harmonica_modules);
|
|
};
|
|
}
|