Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 860 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 860 Bytes

A Nix flake for SEGGER J-Link.

The package version is automatically updated daily.

Usage

In addition to the j-link package and app, this Flake provides a NixOS module that installs the package and sets up the USB device permissions.

{
  inputs.j-link.url = "github:liff/j-link-flake";

  outputs = { self, nixpkgs, j-link }: {
    # replace 'joes-desktop' with your hostname here.
    nixosConfigurations.joes-desktop = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        # …
        j-link.nixosModule
      ];
    };
  };
}

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.