{
  perSystem = { libMy, pkgs, ... }: {
    devenv.shells.controller = libMy.withRootdir {
      languages = {
        python = {
          enable = true;
          version = "3.13";
          libraries = with pkgs; [
            zlib # required by hidapi (?)
          ];
          uv = {
            enable = true;
            sync.enable = true;
          };
        };
      };

      packages = with pkgs; [
        imagemagick
      ];

      env = { };

      scripts = {
        gen-icon.exec = ''
          magick icon.png -resize 256x256 -define icon:auto-resize="256,128,96,64,48,32,24,16" icon.ico
        '';
      };
    };
  };
}