Compare commits
2 Commits
05af78402d
...
5d52b63f63
| Author | SHA1 | Date |
|---|---|---|
|
|
5d52b63f63 | |
|
|
794593f8e8 |
|
|
@ -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" ];
|
||||
}
|
||||
31
packages.nix
31
packages.nix
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue