xilinx: clean log files under homedir

This commit is contained in:
js0ny 2025-11-19 20:49:05 +00:00
parent 7eefc579ae
commit dcf8688a23

View file

@ -44,6 +44,17 @@ in {
exec /opt/Xilinx/Vitis/2022.2/bin/vitis "$@"
'';
executable = true;
enable = true;
};
# Redirect Vivado log and journal files to /tmp to avoid filling up the cwd
# Note: Untested
"${xilinxBoxHome}/.Xilinx/Vivado/Vivado_init.tcl" = {
enable = true;
text = ''
set_param general.journaldir /tmp
set_param general.logdir /tmp
'';
};
};
xdg.desktopEntries = {