From 3dbd45aa7a4ceacfac968f8a15a364d4fead522c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 26 May 2023 13:52:19 +0200 Subject: ... --- accounts/gkleen@sif/systemd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'accounts/gkleen@sif/systemd.nix') diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix index 2fba0404..fe69a757 100644 --- a/accounts/gkleen@sif/systemd.nix +++ b/accounts/gkleen@sif/systemd.nix @@ -143,6 +143,18 @@ in { Restart = "always"; }; }; + keepassxc = { + Service = { + Type = "dbus"; + BusName = "org.keepassxc.KeePassXC.MainWindow"; + WorkingDirectory = "~"; + ExecStart = "${pkgs.keepassxc}/bin/keepassxc"; + }; + Unit = { + Requires = ["graphical-session-pre.target"]; + After = ["graphical-session-pre.target"]; + }; + }; xss-lock = { Service = { Environment = [ "XSECURELOCK_WANT_FIRST_KEYPRESS=1" ]; -- cgit v1.2.3