Skip to content

liff/waveforms-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build packages

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.

About

A Nix flake for Digilent Waveforms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published