{ config, inputs, lib, pkgs, ... }: { home.packages = with pkgs; [ keepassxc ]; systemd.user.services.keepassxc = { Unit = { Description = "KeePassXC password manager"; After = [ "graphical-session-pre.target" ]; PartOf = [ "graphical-session.target" ]; }; Service = { Description = "${pkgs.keepassxc}/bin/keepassxc"; Restart = "on-failure"; }; Install.WantedBy = [ "graphical-session.target" ]; }; xdg.configFile."keepassxc/keepassxc.ini" = { source = ./keepassxc.ini; }; }