Skip to content

nix: add NixOS module with usbmuxd auto-enable - #659

Closed
mirdukkkkk wants to merge 2 commits into
nab138:mainfrom
mirdukkkkk:nixos-module
Closed

nix: add NixOS module with usbmuxd auto-enable#659
mirdukkkkk wants to merge 2 commits into
nab138:mainfrom
mirdukkkkk:nixos-module

Conversation

@mirdukkkkk

@mirdukkkkk mirdukkkkk commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Builds on #658 (fixes the broken flake build). Right now there's no way to install iloader and get it actually working on NixOS in one step - a NixOS user has to know, out of band, that this app needs usbmuxd running, enable that service by hand, and separately add the package to their system. If they miss the usbmuxd step, the first symptom is just "no device found" with no obvious link back to a missing system service

This adds nixosModules.default, exposing:

programs.iloader = {
    enable = true;
    # package = <override>; # optional, defaults to this flake's own package
};

Enabling it adds the package to environment.systemPackages and sets
services.usbmuxd.enable = true, so a single option gets a user to a working
setup instead of a two-step manual dance.

Also tested in my Nix config, as in previous PR.

@mirdukkkkk

Copy link
Copy Markdown
Contributor Author

@mirdukkkkk mirdukkkkk closed this Sep 6, 2026
@mirdukkkkk
mirdukkkkk deleted the nixos-module branch September 6, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant