mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
keepassxc
This commit is contained in:
1 parent
4e6787d4b4
commit
776b7c3f87
4 files changed
+86
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.homeModules.home-keepassxc-autostart =
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.keepassxc.settings.GUI = {
|
||||
ShowTrayIcon = true;
|
||||
MinimizeToTray = true;
|
||||
MinimizeOnClose = true;
|
||||
};
|
||||
|
||||
systemd.user.services.keepassxc = {
|
||||
Unit = {
|
||||
Description = "KeePassXC";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [
|
||||
"graphical-session.target"
|
||||
"rclone-gdrive.service"
|
||||
];
|
||||
Wants = [ "rclone-gdrive.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${config.programs.keepassxc.package}/bin/keepassxc --minimized";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user