{ config, pkgs, ... }:

{
  home-manager.users.${config.user} = {

    home.username = config.user;
    home.homeDirectory = config.homePath;

    news.display = "silent";
    fonts.fontconfig.enable = true;
    nixpkgs.config.allowUnfree = true;

    home.packages = with pkgs; [
      # c / c++
      gcc
      nasm
      pkg-config
      # rust
      rustc
      rustfmt
      rust-analyzer
      cargo
      clippy
      # programs
      adwaita-icon-theme
      blueman
      cage
      easyeffects
      discord
      element-desktop
      fd
      gamescope
      gajim
      gimp
      home-manager
      imagemagick
      libnotify
      mpv
      pavucontrol
      pfetch-rs
      rsync
      starship
      steam
      thunderbird
      unityhub
      vrc-get
      wine
      wl-clipboard
      wl-clip-persist
      wl-mirror
      yt-dlp
      zathura
      # gtk
      orchis-theme
    ];

    xdg.dataFile = {
      fonts = {
        source = ../../files/fonts;
        recursive = true;
      };
    };

    gtk = {
      enable = true;
      gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
    };

    programs.home-manager.enable = true;

  };
}