dosei: install nrf tools
This commit is contained in:
parent
d47f1102e6
commit
7d7d0868ce
11
flake.nix
11
flake.nix
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nrfutil
|
||||||
|
nrfconnect
|
||||||
|
nrf-command-line-tools
|
||||||
|
];
|
||||||
|
|
||||||
|
services.udev.packages = with pkgs; [
|
||||||
|
nrf-udev
|
||||||
|
segger-jlink
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue