diff options
Diffstat (limited to 'shenvs')
| -rw-r--r-- | shenvs/anpi.nix | 2 | ||||
| -rw-r--r-- | shenvs/config.nix | 1 | ||||
| -rw-r--r-- | shenvs/dsp.nix | 4 | ||||
| -rw-r--r-- | shenvs/stats.nix | 11 | ||||
| -rw-r--r-- | shenvs/tabas.nix | 19 | ||||
| -rw-r--r-- | shenvs/tex.nix | 8 |
6 files changed, 39 insertions, 6 deletions
diff --git a/shenvs/anpi.nix b/shenvs/anpi.nix index 2d19401..283fc42 100644 --- a/shenvs/anpi.nix +++ b/shenvs/anpi.nix @@ -4,7 +4,7 @@ pkgs: with pkgs.lib; { symbolic ])) - (python39.withPackages (packages: with packages; [ + (python310.withPackages (packages: with packages; [ sympy numpy matplotlib diff --git a/shenvs/config.nix b/shenvs/config.nix index eb5033f..6c8c42d 100644 --- a/shenvs/config.nix +++ b/shenvs/config.nix @@ -6,7 +6,6 @@ ]; workstation = [ - android-dev el3310 randall tabas diff --git a/shenvs/dsp.nix b/shenvs/dsp.nix index d5828e3..fb9d1c8 100644 --- a/shenvs/dsp.nix +++ b/shenvs/dsp.nix @@ -1,5 +1,7 @@ pkgs: { paths = with pkgs; [ - octave + (octave.withPackages (packages: with packages; [ + #communications + ])) ]; } diff --git a/shenvs/stats.nix b/shenvs/stats.nix new file mode 100644 index 0000000..04e4172 --- /dev/null +++ b/shenvs/stats.nix @@ -0,0 +1,11 @@ +pkgs: with pkgs.lib; + let py = with pkgs; python39.withPackages (packages: with packages; [ + numpy + scipy + matplotlib + pandas + ipython + ]); +in { + paths = [ py ]; +} diff --git a/shenvs/tabas.nix b/shenvs/tabas.nix index ebee6d3..fdb16ca 100644 --- a/shenvs/tabas.nix +++ b/shenvs/tabas.nix @@ -1,15 +1,30 @@ -pkgs: { +pkgs: let + odbcinst = + { lib, writeTextDir, unixODBCDrivers }: + with lib; let + driver = unixODBCDrivers.msodbcsql17; + odbcinst."${driver.fancyName}" = { + Description = driver.meta.description; + Driver = "${driver}/${driver.driver}"; + }; + in writeTextDir "odbcinst.ini" (generators.toINI {} odbcinst); +in { paths = with pkgs; [ dotnet-sdk nodejs nodePackages.npm postgresql_14 sqlite + local.mssql-tools + local.rqlite ]; enter = '' export PGDATA=$HOME/vtmp/psql export DOTNET_ROOT=${pkgs.dotnet-sdk} - export PATH="$PATH:$HOME/.dotnet/tools"; + export ODBCSYSINI=${pkgs.callPackage odbcinst {}} + export PATH="$PATH:$HOME/.dotnet/tools:$HOME/.npm-packages/bin"; + + alias straviasql='sqlcmd -S itcr.database.windows.net -U pmaestro -d straviatec' ''; } diff --git a/shenvs/tex.nix b/shenvs/tex.nix index 2ba0670..12dfe73 100644 --- a/shenvs/tex.nix +++ b/shenvs/tex.nix @@ -3,11 +3,17 @@ pkgs: { biber (texlive.combine { inherit (texlive) + appendix scheme-medium biblatex biblatex-ieee + cleveref csquotes - enumitem; + enumitem + ieeetran + titlesec + titling + zref; }) ]; } |
