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 {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
config.segger-jlink.acceptLicense = true;
|
||||
config.permittedInsecurePackages = [
|
||||
"segger-jlink-qt4-794s"
|
||||
];
|
||||
};
|
||||
in [
|
||||
(self: super: {
|
||||
inherit (nonrecursive-unstable-pkgs) atuin wstunnel;
|
||||
inherit (nonrecursive-unstable-pkgs)
|
||||
atuin
|
||||
wstunnel
|
||||
nrf-udev
|
||||
nrfutil
|
||||
;
|
||||
})
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/pull/251706
|
||||
|
@ -3,6 +3,8 @@
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
./programs/nrfutil.nix
|
||||
|
||||
./services/avahi.nix
|
||||
./services/docker.nix
|
||||
./services/jenkins.nix
|
||||
|
13
hosts/dosei/programs/nrfutil.nix
Normal file
13
hosts/dosei/programs/nrfutil.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user