{
  lib,
  inputs,
  inputs',
  ...
}: {
  imports = [
    ./yabai.nix
    ./skhd.nix
  ];

  nixpkgs = {
    overlays = [
      (final: prev: {
        x86-compat = import inputs.nixpkgs {system = "x86_64-darwin";};
        qutebrowser = inputs'.niko-nur.packages.qutebrowser-bin;
      })
      inputs.firefox-darwin.overlay
    ];
    config.allowUnfreePredicate = pkg:
      builtins.elem (lib.getName pkg) [
        "slack"
      ];
  };

  services.tailscale.enable = true;
}