mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +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
|
let
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
concatStringsSep
|
concatStringsSep
|
||||||
|
@ -110,7 +110,19 @@ in
|
||||||
libnotify
|
libnotify
|
||||||
playerctl
|
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"; }
|
{ directory = ".ssh"; mode = "0700"; }
|
||||||
".local/share/direnv"
|
".local/share/direnv"
|
||||||
"repos"
|
"repos"
|
||||||
|
".config/matlab"
|
||||||
|
".matlab"
|
||||||
|
"MATLAB"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
{ file = ".config/wallpaper"; method = "symlink"; }
|
{ file = ".config/wallpaper"; method = "symlink"; }
|
||||||
|
|
Loading…
Reference in a new issue