Compare commits
No commits in common. "5d52b63f639099e028f4b6199707f4b28c9595ac" and "05af78402daebf940ecf39da1f6dd77ec3a9f7cf" have entirely different histories.
5d52b63f63
...
05af78402d
|
|
@ -55,12 +55,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
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
|
# Add nix experimental features.inherit
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
}
|
}
|
||||||
31
packages.nix
31
packages.nix
|
|
@ -9,27 +9,7 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# List packages installed in system profile.
|
# List packages installed in system profile.
|
||||||
environment.systemPackages = let
|
environment.systemPackages = with pkgs; [
|
||||||
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
|
# System
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
|
|
@ -61,15 +41,6 @@
|
||||||
gcc
|
gcc
|
||||||
gcc-arm-embedded
|
gcc-arm-embedded
|
||||||
python315
|
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
|
# Communication
|
||||||
(element-desktop.overrideAttrs (oldAttrs: {
|
(element-desktop.overrideAttrs (oldAttrs: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue