mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +01:00
Matlab, ew, stuff
Signed-off-by: MagicRB <richard@brezak.sk>
This commit is contained in:
parent
c21340b577
commit
245e6d891b
|
@ -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";
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
{ directory = ".ssh"; mode = "0700"; }
|
||||
".local/share/direnv"
|
||||
"repos"
|
||||
".config/matlab"
|
||||
".matlab"
|
||||
"MATLAB"
|
||||
];
|
||||
files = [
|
||||
{ file = ".config/wallpaper"; method = "symlink"; }
|
||||
|
|
Loading…
Reference in a new issue