mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 09:48:30 +02:00
feat: refactor flake.nix
This commit is contained in:
17
systems/darwin.nix
Normal file
17
systems/darwin.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
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);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user