{ pkgs, ... }:

let 
  user_name = "rohan";
in {
  imports = [ <home-manager/nixos> ];

  home-manager.useGlobalPkgs = true;
  home-manager.users.${user_name} = {
    home = {
      file = {
        ".config/helix".source = ./configs/helix;
        ".config/mako/config".source = ./configs/mako;
        ".config/wofi".source = ./configs/wofi;
        ".config/wireplumber/main.lua.d/51-disable-suspension.lua".source =
          ./configs/wireplumber/51-disable-suspension.lua;
        ".cargo/config.toml".source = ./configs/cargo.toml;
      };
      packages = with pkgs; [
        localsend
        pass 
        signal-desktop
      ];
      pointerCursor = {
        gtk.enable = true;
        package = pkgs.catppuccin-cursors.latteLavender;
        name = "Catppuccin-Latte-Lavender-Cursors";
        size = 22;
      };
      stateVersion = "24.05";
    };

    programs = {
      git = {
        enable = true;
        userName = "Rohan Jain";
        userEmail = "crodjer@proton.me";

        extraConfig = {
          commit = {
            verbose = true;
          };
        };

        signing = {
          key = null;
          signByDefault = true;
        };
      };
    };

    services.gammastep = {
      enable = true;
      provider = "manual";
      latitude = 17.4065;
      longitude = 78.4772;
    };
  };
}
