os/modules/arduino/default.nix

19 lines
219 B
Nix

{
lib,
config,
pkgs,
...
}:
let
psCfg = config.pub-solar;
in
{
users.users."${psCfg.user.name}" = {
extraGroups = [ "dialout" ];
packages = with pkgs; [
arduino
arduino-cli
];
};
}