2026-02-13 23:27:35 +10:00
|
|
|
{upkgs, ...}: {
|
|
|
|
|
home.packages = with upkgs; [
|
2026-02-12 18:53:24 +00:00
|
|
|
keepassxc
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
systemd.user.services.keepassxc = {
|
|
|
|
|
Unit = {
|
|
|
|
|
Description = "KeePassXC password manager";
|
2026-02-13 23:27:35 +10:00
|
|
|
After = ["graphical-session-pre.target"];
|
|
|
|
|
PartOf = ["graphical-session.target"];
|
2026-02-12 18:53:24 +00:00
|
|
|
};
|
|
|
|
|
Service = {
|
2026-02-13 23:27:35 +10:00
|
|
|
Description = "${upkgs.keepassxc}/bin/keepassxc";
|
2026-02-12 18:53:24 +00:00
|
|
|
Restart = "on-failure";
|
|
|
|
|
};
|
2026-02-13 23:27:35 +10:00
|
|
|
Install.WantedBy = ["graphical-session.target"];
|
2026-02-12 18:53:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
xdg.configFile."keepassxc/keepassxc.ini" = {
|
|
|
|
|
source = ./keepassxc.ini;
|
|
|
|
|
};
|
|
|
|
|
}
|