seperate out arduino
This commit is contained in:
parent
667216c835
commit
25747846df
2 changed files with 13 additions and 5 deletions
12
common/arduino.nix
Normal file
12
common/arduino.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
arduino-ide
|
||||||
|
adafruit-nrfutil
|
||||||
|
];
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="ttyACM0", MODE="0666"
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
../../common/nix-settings.nix
|
../../common/nix-settings.nix
|
||||||
../../common/i18n.nix
|
../../common/i18n.nix
|
||||||
../../common/python.nix
|
../../common/python.nix
|
||||||
|
../../common/arduino.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
|
|
@ -85,7 +86,6 @@
|
||||||
obs-studio
|
obs-studio
|
||||||
audacity
|
audacity
|
||||||
pkgs-unstable.qbittorrent
|
pkgs-unstable.qbittorrent
|
||||||
arduino-ide
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -135,7 +135,6 @@
|
||||||
jq
|
jq
|
||||||
onefetch
|
onefetch
|
||||||
just
|
just
|
||||||
adafruit-nrfutil
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|
@ -151,9 +150,6 @@
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
KERNEL=="ttyACM0", MODE="0666"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue