Matlab, ew, stuff

Signed-off-by: MagicRB <richard@brezak.sk>
This commit is contained in:
MagicRB 2023-10-03 23:49:04 +02:00
parent c21340b577
commit 245e6d891b
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 17 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, inputs', ... }:
let
inherit (lib)
concatStringsSep
@ -110,7 +110,19 @@ in
libnotify
playerctl
matlab
(pkgs.buildFHSUserEnv {
name = "matlab";
targetPkgs = ps: (inputs'.nix-matlab.targetPkgs ps ++ [
pkgs.freetype
]);
runScript = pkgs.writeScript "matlab" (inputs'.nix-matlab.shellHooksCommon + ''
export _JAVA_AWT_WM_NONREPARENTING=1
exec $MATLAB_INSTALL_DIR/bin/matlab "$@"
'');
meta = {
description = "MATLAB with freetype included in FHS environment";
};
})
];

View file

@ -38,6 +38,9 @@
{ directory = ".ssh"; mode = "0700"; }
".local/share/direnv"
"repos"
".config/matlab"
".matlab"
"MATLAB"
];
files = [
{ file = ".config/wallpaper"; method = "symlink"; }