Compare commits

..

2 Commits

Author SHA1 Message Date
Ulysse Cura 5d52b63f63 Added Quarto to packages. 2026-06-20 10:23:50 +02:00
Ulysse Cura 794593f8e8 Arduino IDE 2026-06-19 11:15:27 +02:00
2 changed files with 36 additions and 1 deletions

View File

@ -55,6 +55,12 @@
'';
};
services.udev.extraRules = ''
# Renesas based Arduino Santiago/Portenta H33 bootloader mode UDEV rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666"
'';
# Add nix experimental features.inherit
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}

View File

@ -9,7 +9,27 @@
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile.
environment.systemPackages = with pkgs; [
environment.systemPackages = let
myPythonPackages = ps: with ps; [
pandas
statsmodels
scikit-learn
sympy
];
myRPackages = with pkgs.rPackages; [
reticulate # wanted by quarto to execute Python when using R.
# any other RPackages - you can reuse this list for R and RStudio
];
patchedQuarto = (pkgs.quarto.override {
extraPythonPackages = myPythonPackages;
extraRPackages = myRPackages;
}).overrideAttrs (oldAttrs: { # Remove this overrideAttrs patch when fixed. See https://github.com/NixOS/nixpkgs/issues/519484#issuecomment-4667477454
postPatch = (oldAttrs.postPatch or "") + ''
substituteInPlace bin/quarto.js \
--replace-fail "syntax-highlighting" "highlight-style"
'';
});
in with pkgs; [
# System
gsettings-desktop-schemas
vulkan-tools
@ -41,6 +61,15 @@
gcc
gcc-arm-embedded
python315
arduino-ide
#### next generation of Rmarkdown for Python, Julia, R, and JS:
patchedQuarto
#### Your command-line Python:
(python3.withPackages (myPythonPackages))
#### R and RStudio:
(rWrapper.override {packages = myRPackages; })
(rstudioWrapper.override { packages = myRPackages; })
# Communication
(element-desktop.overrideAttrs (oldAttrs: {