{ config, ... }:
{
  imports = [
    ./autostart
    ./extra
    ./hotkeys
    ./inputs
    ./outputs
    ./rules
    ./theme
  ];

  wayland.windowManager.sway = {
    enable = config.home.desktop.enable;
    wrapperFeatures.gtk = true;
    checkConfig = false;
    extraOptions = [ "--unsupported-gpu" ];
    extraSessionCommands = ''
      export ELECTRON_OZONE_PLATFORM_HINT=wayland
      export WLR_RENDERER=vulkan
    '';
  };
}
