No description
- Go 96.8%
- Nix 3.2%
| config | ||
| gpuinfo | ||
| mpris | ||
| nix | ||
| openshock | ||
| oscmod | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
OpenOSC
Install from the Git
In your NixOS configuration's flake.nix, add the OpenOSC input and pass it
to your modules:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
openosc.url = "git+https://git.toxicfox.de/toxicfox/OpenOSC";
};
outputs = { nixpkgs, openosc, ... }: {
nixosConfigurations.my-host = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit openosc; };
modules = [ ./configuration.nix ];
};
};
}
Then add the package in configuration.nix:
{ pkgs, openosc, ... }:
{
environment.systemPackages = [
openosc.packages.${pkgs.stdenv.hostPlatform.system}.openosc
];
}