add matlab

This commit is contained in:
EdenQwQ 2025-06-17 16:22:07 +08:00
parent 24305b3214
commit 791db5bb18
9 changed files with 60 additions and 14 deletions

View file

@ -1,15 +1,5 @@
{
programs.distrobox = {
enable = true;
containers = {
python-project = {
image = "fedora:latest";
additional_packages = "python3 python3-pip git python3-numpy python3-scipy python3-matplotlib python3-pandas";
init_hooks = [
"ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/evince"
"ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/latexmk"
];
};
};
};
}

View file

@ -14,6 +14,8 @@
kanshi
wlsunset
wayneko
xwayland-satellite
wmname
];
home.file."scripts" = {
source = ./scripts;

View file

@ -34,7 +34,12 @@
touchpad.natural-scroll = false;
keyboard.xkb.options = "caps:escape";
};
environment.DISPLAY = ":0";
environment = {
DISPLAY = ":0";
XIM = "fcitx";
GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
};
outputs = builtins.mapAttrs (name: value: {
inherit (value) scale mode position;
transform.rotation = value.rotation;