{ pkgs, globalInputs, system, ... }:

{
  # Home Manager configuration for kodi user on boxy
  # Focused on media center volume control via Home Assistant

  home.username = "kodi";
  home.homeDirectory = "/home/kodi";
  home.stateVersion = "24.05";

  # Enable minimal roles for kodi user
  home.roles = {
    base.enable = true;
    plasma-manager-kodi.enable = true;
  };

  home.packages = with pkgs; [
    kdePackages.kconfig
  ];

  targets.genericLinux.enable = true;
  home.sessionVariables = {};
  home.sessionPath = [];

  imports = [
    ./roles
  ];
}
