A Nix flake for SEGGER J-Link.
- Nix 100%
| .github | Bump cachix/install-nix-action from V28 to 29 | |
| data | Automatic package update | |
| pkgs/j-link | Improve installation phase | |
| .gitignore | Hello world | |
| flake.nix | Add nixosModules.default | |
| LICENSE | Add unlicense | |
| README.md | Enable unfree packages unconditionally | |
| update | Fix up-to-date announcement | |
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.