From 6c225f12c08dacd67774df2f81a9fbd2c234cb58 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 3 Nov 2024 16:22:02 +0100 Subject: [PATCH] Add segger jlink udev rules --- hosts/adalbert/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/adalbert/default.nix b/hosts/adalbert/default.nix index 1689ab9..c10ff3a 100644 --- a/hosts/adalbert/default.nix +++ b/hosts/adalbert/default.nix @@ -3,6 +3,7 @@ { inputs, outputs, + pkgs, ... }: { # You can import other NixOS modules here @@ -59,12 +60,14 @@ # Disable if you don't want unfree packages allowUnfree = true; firefox.enablePlasmaBrowserIntegration = true; + segger-jlink.acceptLicense = true; + permittedInsecurePackages = ["segger-jlink-qt4-794l"]; }; }; networking.hostName = "adalbert"; - services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default]; + services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default pkgs.segger-jlink]; environment.systemPackages = [inputs.heliox-cli.packages.x86_64-linux.default]; # Personalausweis reader