{ config, pkgs, inputs, lib, ... }:

{
  # Home Manager needs a bit of information about you and the paths it should
  # manage.
  home.username = "jay";
  home.homeDirectory = "/home/jay";

  imports = [ 
    inputs.stylix.homeModules.stylix
    ./programs/alacritty.nix
    ./programs/bash.nix
    ./programs/git.nix
    ./programs/hyprland.nix
    ./programs/hyprlock.nix
    ./programs/hyprpanel.nix
    ./programs/lazygit.nix
    ./programs/oh-my-posh.nix
    ./programs/rbw.nix
    ./programs/rofi.nix
    ./programs/stylix.nix
    ./programs/yazi.nix
    ./services/arrpc.nix
    ./services/fluidsynth.nix
    ./services/hypridle.nix
  ];


  # This value determines the Home Manager release that your configuration is
  # compatible with. This helps avoid breakage when a new Home Manager release
  # introduces backwards incompatible changes.
  #
  # You should not change this value, even if you update Home Manager. If you do
  # want to update the value, then make sure to first check the Home Manager
  # release notes.
  home.stateVersion = "24.11"; # Please read the comment before changing.

  # The home.packages option allows you to install Nix packages into your
  # environment.
  home.packages = [
    pkgs.legcord
    pkgs.libgtop
    #pkgs.mpvpaper
    # pkgs.hyprlandPlugins.hyprtrails
  ];

  # Home Manager is pretty good at managing dotfiles. The primary way to manage
  # plain files is through 'home.file'.
  home.file = {
    ".config/elinks/elinks.conf".source = ../../../../../private/dotfiles/elinks/elinks.conf;
    ".config/jellyfin-tui/config.yaml".source = ../../../../../private/dotfiles/jellyfin-tui/config.yaml;
    ".config/jellyfin-rpc/urls.json".source = ../../../../../private/dotfiles/jellyfin-rpc/urls.json;
    ".config/jellyfin-rpc/main.json".source = ../../../../../private/dotfiles/jellyfin-rpc/main.json;
    ".config/newsboat/config".source = ../../../../../private/dotfiles/newsboat/config;
    "quickemu/kubuntu-24.04.conf".source = ../../../../../private/dotfiles/quickemu/kubuntu-24.04.conf;
  };

  home.sessionVariables = {
    EDITOR = "nano";
  };

  # Let Home Manager install and manage itself.
  programs.home-manager.enable = true;

  # programs.starship.presets = [ "nerd-font-symbols" ];

}

