{ pkgs, ... }: {
  config.systemd.user.services.keepassxc = {
    Unit = {
      Description = "KeePassXC password manager";
      After = [ "graphical-session-pre.target" ];
      Partof = [ "graphical-session.target" ];
    };

    Install = { WantedBy = [ "graphical-session.target" ]; };

    Service = { ExecStart = "${pkgs.keepassxc}/bin/keepassxc"; };
  };
}
