nixos-config/sets/hardware.nix

30 lines
588 B
Nix

{ config, pkgs, ... }:
let jlink = pkgs.callPackage ../externals/packages/jlink { };
in {
services.udev.packages = [
(pkgs.callPackage ../externals/rules/adafruit.nix { })
(pkgs.callPackage ../externals/rules/limesuite.nix { })
pkgs.glasgow
pkgs.libsigrok
pkgs.openocd
pkgs.platformio
];
environment.systemPackages = with pkgs; [
glasgow
jlink
kicad
openocd
picocom
platformio
proxmark3-rrg
pulseview
stlink
];
users = {
users.artemis.extraGroups = [ "plugdev" "dialout" ];
extraGroups.plugdev = { };
};
}