dosei: install nrf tools

This commit is contained in:
Oystein Kristoffer Tveit 2024-09-25 13:00:06 +02:00
parent d47f1102e6
commit 7d7d0868ce
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 25 additions and 1 deletions

View File

@ -95,10 +95,19 @@
nonrecursive-unstable-pkgs = import nixpkgs-unstable { nonrecursive-unstable-pkgs = import nixpkgs-unstable {
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
config.segger-jlink.acceptLicense = true;
config.permittedInsecurePackages = [
"segger-jlink-qt4-794s"
];
}; };
in [ in [
(self: super: { (self: super: {
inherit (nonrecursive-unstable-pkgs) atuin wstunnel; inherit (nonrecursive-unstable-pkgs)
atuin
wstunnel
nrf-udev
nrfutil
;
}) })
# https://github.com/NixOS/nixpkgs/pull/251706 # https://github.com/NixOS/nixpkgs/pull/251706

View File

@ -3,6 +3,8 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./programs/nrfutil.nix
./services/avahi.nix ./services/avahi.nix
./services/docker.nix ./services/docker.nix
./services/jenkins.nix ./services/jenkins.nix

View File

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
nrfutil
nrfconnect
nrf-command-line-tools
];
services.udev.packages = with pkgs; [
nrf-udev
segger-jlink
];
}