18 lines
388 B
Nix
18 lines
388 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
home.packages = [pkgs.keepassxc];
|
|
systemd.user.services.keepassxc = {
|
|
Unit = {
|
|
Description = "keepassxc";
|
|
After = [ "graphical-session-pre.target" ];
|
|
PartOf = [ "graphical-session.target" ];
|
|
};
|
|
Install.WantedBy = ["graphical-session.target"];
|
|
Service = {
|
|
ExecStart = "${pkgs.keepassxc}/bin/keepassxc";
|
|
};
|
|
};
|
|
}
|