1
0
Fork 0
forked from foxora/nix
flake-foxora/homes/modules/services/keepassxc/keepassxc.nix
2026-02-12 18:53:24 +00:00

23 lines
547 B
Nix

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