2020-11-17 01:51:13 +00:00
|
|
|
{ config, pkgs, ... }:
|
2020-12-18 04:15:10 +00:00
|
|
|
let
|
2021-04-28 17:50:54 +00:00
|
|
|
oldpkgs = import (fetchTarball "http://nixos.org/channels/nixos-20.03/nixexprs.tar.xz") { config.allowUnfree = true; };
|
|
|
|
jlink = oldpkgs.callPackage ../externals/packages/jlink { };
|
2020-12-18 04:15:10 +00:00
|
|
|
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
|
|
|
|
];
|
2020-11-17 01:51:13 +00:00
|
|
|
|
2020-11-22 21:26:28 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
kicad-unstable
|
|
|
|
openocd
|
2020-12-04 23:35:51 +00:00
|
|
|
picocom
|
2020-11-22 21:26:28 +00:00
|
|
|
stlink
|
2020-12-18 04:15:10 +00:00
|
|
|
jlink
|
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
|
|
|
};
|
|
|
|
}
|