38 lines
819 B
Nix
38 lines
819 B
Nix
{ pkgs, ... }: {
|
|
environment.systemPackages = with pkgs; [
|
|
bacon
|
|
clang
|
|
clang-tools
|
|
etcher
|
|
freecad
|
|
gcc
|
|
gdb
|
|
gnumake
|
|
lldb
|
|
nil
|
|
nixpkgs-fmt
|
|
rustup
|
|
unstable.cargo
|
|
unstable.cargo-edit
|
|
unstable.cargo-feature
|
|
unstable.cargo-rr
|
|
unstable.clippy
|
|
unstable.elf2uf2-rs
|
|
unstable.pijul
|
|
unstable.rust-analyzer
|
|
unstable.rustc
|
|
unstable.rustfmt
|
|
unstable.sccache
|
|
vulkan-loader
|
|
];
|
|
|
|
# nixpkgs.config.permittedInsecurePackages = [
|
|
# # "electron-12.2.3"
|
|
# "electron-24.8.6"
|
|
# ];
|
|
|
|
services.udev.extraRules = ''
|
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
|
'';
|
|
}
|