{ inputs, config, ... }: let hostname = "dnsc-air"; username = config.flake.globalConfig.username; in { flake.darwinConfigurations.dnsc-air = inputs.nix-darwin.lib.darwinSystem { system = "aarch64-darwin"; specialArgs = { inherit inputs; }; modules = [ inputs.home-manager.darwinModules.home-manager config.flake.modules.darwin.base { networking.hostName = "${hostname}"; networking.computerName = "${hostname}"; users.users.${username}.home = "/Users/${username}"; nix.enable = false; nix.settings.experimental-features = [ "nix-command" "flakes" ]; home-manager = { useGlobalPkgs = true; backupFileExtension = "backup"; users.${username} = { imports = [ config.flake.modules.homeManager.neovim ]; home.stateVersion = "24.11"; }; }; } ]; }; }