A Nix flake for Digilent Waveforms on Linux.
- Nix 89%
- C 11%
| .github | Bump actions/checkout from 5 to 6 | |
| data | Update waveforms deb hashes | |
| pkgs | fix: GROUP key takes '=' or ':=' operator, assuming '=' | |
| .gitignore | Hello world | |
| flake.nix |
Add plugdev group configuration to the NixOS module
|
|
| LICENSE | Add unlicense | |
| README.md | Disable automatic updates | |
A Nix flake for Digilent Waveforms on Linux.
Usage
In addition to the waveforms package and app, this Flake provides a
NixOS module that installs the package and sets up the USB device
permissions so that plugdev group users are allowed to access.
{
inputs.waveforms.url = "github:liff/waveforms-flake";
outputs = { self, nixpkgs, waveforms }: {
# replace 'joes-desktop' with your hostname here.
nixosConfigurations.joes-desktop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# ...
waveforms.nixosModule
({ users.users.joe.extraGroups = [ "plugdev" ]; })
];
};
};
}
Note on unfree packages
Due to limitations of flakes, this flake enables config.allowUnfree
on its import of nixpkgs, meaining that packages can be built without
otherwise enabling unfree software.