{ 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 ./. { withOverlays = [(import ./nix/overlay.nix)]; extraPaths = [ ./51-ptouch-remote.rules ./web ]; packages = rec { ptouch-remote = pkgs: pkgs.ptouch-remote; }; crossTargets = [ "x86_64-unknown-linux-musl" "aarch64-unknown-linux-musl" ]; nixosModules = {outputs, ...}: { default = { pkgs, config, lib, ... }: { imports = [./nix/module.nix]; config = lib.mkIf config.services.ptouch-remote.enable { nixpkgs.overlays = [outputs.overlays.default]; services.ptouch-remote.package = lib.mkDefault pkgs.ptouch-remote; }; }; }; }; }