{
  inputs = {
    nixpkgs.url = "nixpkgs/nixos-25.11";
    flakelight = {
      url = "github:nix-community/flakelight";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    mill-scale = {
      url = "git+https://codeberg.org/icewind/mill-scale.git";
      inputs.flakelight.follows = "flakelight";
    };
  };
  outputs = {mill-scale, ...}:
    mill-scale ./. {
      cargoTest = false;
      withOverlays = [(import ./nix/overlay.nix)];
      packages = {
        test-runner = pkgs: pkgs.test-runner;
      };
      checks = {
        test = pkgs: pkgs.testers.nixosTest (import ./nix/test.nix);
      };
    };
}
