nixos-config/sets/hardware.nix

29 lines
591 B
Nix
Raw Normal View History

2021-12-08 02:26:59 +00:00
{ config, pkgs, pkgs-unstable, ... }:
let
2021-11-02 01:14:16 +00:00
jlink = pkgs.callPackage ../externals/packages/jlink { };
in
2020-11-22 21:26:28 +00:00
{
services.udev.packages = [
(pkgs.callPackage ../externals/rules/adafruit.nix { })
(pkgs.callPackage ../externals/rules/limesuite.nix { })
pkgs.openocd
pkgs.platformio
2021-11-02 01:14:16 +00:00
pkgs.saleae-logic-2
2020-11-22 21:26:28 +00:00
];
2020-11-17 01:51:13 +00:00
2020-11-22 21:26:28 +00:00
environment.systemPackages = with pkgs; [
2021-12-08 02:26:59 +00:00
pkgs-unstable.kicad-unstable
2020-11-22 21:26:28 +00:00
openocd
picocom
2020-11-22 21:26:28 +00:00
stlink
jlink
platformio
2021-11-02 01:14:16 +00:00
saleae-logic-2
2020-11-22 21:26:28 +00:00
];
2020-11-17 01:51:13 +00:00
2020-11-22 21:26:28 +00:00
users = {
users.artemis.extraGroups = [ "plugdev" "dialout" ];
2020-11-26 04:20:52 +00:00
extraGroups.plugdev = { };
2020-11-22 21:26:28 +00:00
};
}