about summary refs log tree commit diff
path: root/tools/eaglemode/default.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-08-30 r/8621 feat(eaglemode/emacsclient): use actual Emacs icon for commandVincent Ambo1-0/+5
Adds a new function that converts anything to a TGA image (imagemagick really is magic), with which arbitrary icons can be converted. This is demoed with the emacsclient command, which just takes the icon out of the Emacs package tree. Change-Id: I771bafed7b07a37c847bd07db986228b9fda60a0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12374 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: azahi <azat@bahawi.net> Reviewed-by: tazjin <tazjin@tvl.su>
2024-08-30 r/8620 refactor(tools/eaglemode): overridable mkCommandVincent Ambo1-2/+3
People might especially want to change the default configuration. Change-Id: If046e036a6d1a702abb8dcd1c08dac4730a01b98 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12371 Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: azahi <azat@bahawi.net> Tested-by: BuildkiteCI
2024-08-30 r/8617 feat(tools/eaglemode): add configuration wrapper scriptVincent Ambo1-0/+15
Adds a new eaglemode.withConfig function that creates a specially wrapped Eagle Mode, in which a configuration script joins the user's configuration with the config passed in. This produces a fully working and configured Eagle Mode with custom stuff out of the box. Change-Id: I6282cafd0b1ac6e77bede90cc91d4ede19ee1d2f Reviewed-on: https://cl.tvl.fyi/c/depot/+/12369 Reviewed-by: azahi <azat@bahawi.net> Tested-by: BuildkiteCI Reviewed-by: emery <emery@dmz.rs>
2024-08-30 r/8616 feat(tools/eaglemode): add function for creating etc dirVincent Ambo1-0/+17
Adds an eaglemode.etcDir function which creates a directory structure suitable for use with EM_USER_CONFIG_DIR. The catch is that Eagle Mode requires this to be always writable, so it isn't possible to just point the environment variable at the Nix store and launch it from there. The idea of this function is to make it possible to reuse it in a wrapper script, a home manager module, a NixOS module or whatever that would make it possible to provide the result to Eagle Mode in a mutable location. Change-Id: I95c8b16c6c6fe8510ce9759c9d9b9e36e836e290 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12368 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: azahi <azat@bahawi.net>
2024-08-30 r/8614 feat(tools/eaglemode): add helper function for Eagle Mode commandsVincent Ambo1-0/+57
This generates the correct `.pl` files for adding Eagle Mode commands. This commit does not yet contain the wiring for adding these into Eagle Mode directly, which is a bit involved. Change-Id: I7d88128ba3ddaebfbb618db45e8fa843a3f17dea Reviewed-on: https://cl.tvl.fyi/c/depot/+/12366 Tested-by: BuildkiteCI Reviewed-by: emery <emery@dmz.rs>