add python shit
This commit is contained in:
commit
8c7024853c
755 changed files with 606 additions and 286846 deletions
|
|
@ -1,9 +1,12 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
# dotfiles pour inkscape (fichier dimensionné pour LaTeX)
|
||||
xdg.configFile."inkscape".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/inkscape";
|
||||
# dotfiles pour Rofi
|
||||
xdg.configFile = {
|
||||
"inkscape/templates".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/inkscape/templates";
|
||||
"inkscape/palettes".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/inkscape/palettes";
|
||||
}; # dotfiles pour Rofi
|
||||
xdg.configFile."rofi".source =
|
||||
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos-config/dotfiles/rofi";
|
||||
# dotfiles pour hyprland
|
||||
|
|
|
|||
|
|
@ -12,11 +12,14 @@
|
|||
./packages/hyprland.nix
|
||||
./packages/kitty.nix
|
||||
./packages/mpv.nix
|
||||
./packages/music.nix
|
||||
./packages/neovim.nix
|
||||
./packages/nextcloud.nix
|
||||
./packages/obs.nix
|
||||
./packages/other_apps.nix
|
||||
./packages/pass.nix
|
||||
./packages/protonmail.nix
|
||||
./packages/python.nix
|
||||
./packages/texlive.nix
|
||||
./packages/thunderbird.nix
|
||||
./packages/tmux.nix
|
||||
|
|
|
|||
44
home/afoucaultc/packages/music.nix
Normal file
44
home/afoucaultc/packages/music.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# --- DAW principal ---
|
||||
lmms
|
||||
|
||||
# --- Boîte à rythmes ---
|
||||
hydrogen
|
||||
drumgizmo
|
||||
|
||||
# --- SoundFonts ---
|
||||
soundfont-fluid
|
||||
soundfont-generaluser-gs
|
||||
|
||||
# --- Synthés (LV2/VST) ---
|
||||
surge-xt
|
||||
zynaddsubfx
|
||||
yoshimi
|
||||
helm
|
||||
vital
|
||||
|
||||
# --- Effets LV2 ---
|
||||
calf
|
||||
lsp-plugins
|
||||
x42-plugins
|
||||
|
||||
# --- Sampling / édition ---
|
||||
audacity
|
||||
|
||||
# --- Utilitaires ---
|
||||
qpwgraph
|
||||
sonic-visualiser
|
||||
];
|
||||
|
||||
# Aide les hôtes LV2/VST à trouver les plugins installés via Nix
|
||||
home.sessionVariables = {
|
||||
LV2_PATH = "$HOME/.nix-profile/lib/lv2";
|
||||
LADSPA_PATH = "$HOME/.nix-profile/lib/ladspa";
|
||||
DSSI_PATH = "$HOME/.nix-profile/lib/dssi";
|
||||
VST_PATH = "$HOME/.nix-profile/lib/vst";
|
||||
VST3_PATH = "$HOME/.nix-profile/lib/vst3";
|
||||
};
|
||||
}
|
||||
|
|
@ -32,12 +32,6 @@
|
|||
# vimtex forward search + treesitter CLI
|
||||
xdotool
|
||||
tree-sitter
|
||||
(python3.withPackages (
|
||||
ps: with ps; [
|
||||
pynvim
|
||||
debugpy
|
||||
]
|
||||
))
|
||||
];
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
home.shellAliases = {
|
||||
|
|
|
|||
11
home/afoucaultc/packages/obs.nix
Normal file
11
home/afoucaultc/packages/obs.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-backgroundremoval
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -18,7 +18,6 @@
|
|||
librsvg
|
||||
streamlink
|
||||
kdePackages.gwenview
|
||||
audacity
|
||||
# --- Maths ---
|
||||
(octave.withPackages (
|
||||
ps: with ps; [
|
||||
|
|
@ -38,6 +37,7 @@
|
|||
kdePackages.ffmpegthumbs
|
||||
# --- Others
|
||||
hyfetch
|
||||
ffmpeg
|
||||
fastfetch
|
||||
pkg-config
|
||||
mako
|
||||
|
|
|
|||
39
home/afoucaultc/packages/python.nix
Normal file
39
home/afoucaultc/packages/python.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
python = pkgs.python3.override {
|
||||
packageOverrides = pyfinal: pyprev: {
|
||||
slicer = pyprev.slicer.overridePythonAttrs (old: {
|
||||
doCheck = false; # la suite de tests casse sur cette combinaison
|
||||
build-system = (old.build-system or [ ]) ++ [
|
||||
pyfinal.setuptools
|
||||
pyfinal.wheel
|
||||
];
|
||||
});
|
||||
|
||||
shap = pyprev.shap.overridePythonAttrs (old: {
|
||||
dependencies = (old.dependencies or [ ]) ++ [
|
||||
pyfinal.typing-extensions
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
(python.withPackages (
|
||||
ps: with ps; [
|
||||
numpy
|
||||
pandas
|
||||
matplotlib
|
||||
cycler
|
||||
scipy
|
||||
scikit-learn
|
||||
xgboost
|
||||
lightgbm
|
||||
shap
|
||||
pynvim
|
||||
debugpy
|
||||
]
|
||||
))
|
||||
];
|
||||
}
|
||||
|
|
@ -6,6 +6,26 @@
|
|||
selection-clipboard = "clipboard";
|
||||
synctex = true;
|
||||
synctex-edit-modifier = "ctrl";
|
||||
completion-bg = "rgb(22, 22, 30)";
|
||||
completion-fg = "rgb(42, 195, 222)";
|
||||
completion-highlight-bg = "rgb(42, 195, 222)";
|
||||
completion-highlight-fg = "rgb(213, 214, 219)";
|
||||
default-bg = "rgba(26, 27, 38, 1.000000)";
|
||||
default-fg = "rgb(22, 22, 30)";
|
||||
highlight-active-color = "rgba(42, 195, 222, 0.500000)";
|
||||
highlight-color = "rgba(13, 185, 215, 0.500000)";
|
||||
inputbar-bg = "rgb(26, 27, 38)";
|
||||
inputbar-fg = "rgb(213, 214, 219)";
|
||||
notification-bg = "rgb(26, 27, 38)";
|
||||
notification-error-bg = "rgb(26, 27, 38)";
|
||||
notification-error-fg = "rgb(192, 202, 245)";
|
||||
notification-fg = "rgb(213, 214, 219)";
|
||||
notification-warning-bg = "rgb(26, 27, 38)";
|
||||
notification-warning-fg = "rgb(192, 202, 245)";
|
||||
recolor-darkcolor = "rgb(203, 204, 209)";
|
||||
recolor-lightcolor = "rgb(26, 27, 38)";
|
||||
statusbar-bg = "rgb(47, 53, 73)";
|
||||
statusbar-fg = "rgb(120, 124, 153)";
|
||||
};
|
||||
mappings = {
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue