diff --git a/README.md b/README.md index fe2dcd3..eb202d0 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,13 @@ paru -S lan-mouse-bin - nixpkgs: [search.nixos.org](https://search.nixos.org/packages?channel=unstable&show=lan-mouse&from=0&size=50&sort=relevance&type=packages&query=lan-mouse) - flake: [README.md](./nix/README.md) +### Building from source with Nix +In the root of the project to build Lan Mouse, run +```sh +nix-build +``` + +You can find the executable in `result/bin/lan-mouse` . ### Manual Installation diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..1d42d46 --- /dev/null +++ b/default.nix @@ -0,0 +1,3 @@ +{ pkgs ? import { } +}: +pkgs.callPackage nix/default.nix { }