{ flake, userName, pkgs, ... }:
{
  imports = with flake.nixosModules.userProfiles.${userName}; [
    zsh utils tmux
  ];

  config = {
    home-manager.users.${userName} = {
      home.stateVersion = "20.09";

      nixpkgs.config = {
        allowUnfree = true;
      };

      home.packages = with pkgs; [
        thunderbird libreoffice element-desktop keepassxc vlc
      ];

      programs.firefox = {
        enable = true;
        profiles.default.settings = {
          "dom.security.https_only_mode" = true;
          "browser.cache.disk.enable" = false;
        };
      };
    };
  };
}