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