feat(packaging): nix flake#3
Open
ixxie wants to merge 1 commit into
Open
Conversation
f0d47a6 to
315dd0e
Compare
Adds a Nix flake that builds zapp and exposes a NixOS module installing the binary and registering the udev rules system-wide. The package is split into nix/package.nix and consumed via callPackage, so individual deps can be overridden. The NixOS module is a standalone file (nix/nixos-module.nix) with a `package` option, wired up at the flake level. An overlay (nix/overlay.nix) and top-level default.nix / shell.nix make the package usable from non-flake configurations too. udev rules install to $out/lib/udev/rules.d/ so consumers can pass the package directly to services.udev.packages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author
|
Hey so:
Tested on my machine, seems to work. |
Collaborator
|
wow, thank you so much for your work! i'll look at it tomorrow :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a Nix flake, allowing Nix users to install zapp. It also includes a NixOS module that installs zapp and configures udev rules appropriately on the system.