···77# IF you make any change to this file, use:
88# `nix run .#write-flake`
99#
1010-# We provide nix-unit and home-manager for common
1111-# usage.
1010+# We provide nix-darwin and home-manager for common usage.
1211{ inputs, ... }:
1312{
1413 # change "main" with a commit where bug is present
1514 flake-file.inputs.den.url = "github:vic/den/main";
16151717- flake-file.inputs.nix-unit = {
1818- url = "github:nix-community/nix-unit";
1919- inputs.nixpkgs.follows = "nixpkgs";
2020- inputs.flake-parts.follows = "flake-parts";
2121- inputs.treefmt-nix.follows = "treefmt-nix";
2222- };
2323-1616+ # included so we can test HM integrations.
2417 flake-file.inputs.home-manager = {
2518 url = "github:nix-community/home-manager";
2619 inputs.nixpkgs.follows = "nixpkgs";
2720 };
28212929- imports = [
3030- inputs.nix-unit.modules.flake.default
3131- ];
3232-2222+ # included for testing darwin hosts.
2323+ darwin = {
2424+ url = "github:nix-darwin/nix-darwin";
2525+ inputs.nixpkgs.follows = "nixpkgs";
2626+ };
3327}