{
  withSystem,
  inputs,
  ...
}: {
  flake.darwinConfigurations.hijiri = withSystem "aarch64-darwin" (
    {
      system,
      self',
      inputs',
      ...
    }: let
      nur = inputs'.niko-nur.packages;
    in
      self'.lib.mkSystem {
        system = ./configuration.nix;

        user = {
          config,
          pkgs,
          lib,
          ...
        }: {
          imports = [
            ../../home-manager/node.nix
            ../../home-manager/pijul.nix
            ../../home-manager/desktop/qute.nix
            # ./home-manager/desktop/chromium.nix
          ];

          niko = {
            desktop.alacritty.enable = true;
            dev.rust.enable = true;
          };

          home.packages = with pkgs; [
            nerdfonts
            utm
            podman
            podman-compose
            qemu
            cocoapods
            slack
            nur.lunar
            anki-bin
            nur.transmission-bin
            nur.swiftcord
            nur.sensors
            x86-compat.ghidra-bin
          ];

          programs.firefox = {
            enable = true;
            package = pkgs.firefox-bin;
          };
        };
      }
  );
}