nix: refactored out nix-darwin common config

This commit is contained in:
Léana 江 2024-05-07 02:01:07 +02:00 committed by Léana 江
parent c6a1625880
commit 9db9e4c0b6
4 changed files with 26 additions and 48 deletions

View file

@ -56,7 +56,9 @@ let
inputs.nix-darwin.lib.darwinSystem {
specialArgs = args;
modules = [
{ nixpkgs.hostPlatform = sys; }
"${self}/nix/hosts/_"
"${self}/nix/hosts/_darwin"
"${self}/nix/hosts/${name}"
defaultOptions
opts