nix-dotfiles/modules/hm/keepassxc.nix
2023-07-19 10:42:09 +01:00

13 lines
366 B
Nix

{ 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"; };
};
}