diff options
Diffstat (limited to 'accounts/gkleen@sif/systemd.nix')
-rw-r--r-- | accounts/gkleen@sif/systemd.nix | 12 |
1 files changed, 12 insertions, 0 deletions
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 { | |||
143 | Restart = "always"; | 143 | Restart = "always"; |
144 | }; | 144 | }; |
145 | }; | 145 | }; |
146 | keepassxc = { | ||
147 | Service = { | ||
148 | Type = "dbus"; | ||
149 | BusName = "org.keepassxc.KeePassXC.MainWindow"; | ||
150 | WorkingDirectory = "~"; | ||
151 | ExecStart = "${pkgs.keepassxc}/bin/keepassxc"; | ||
152 | }; | ||
153 | Unit = { | ||
154 | Requires = ["graphical-session-pre.target"]; | ||
155 | After = ["graphical-session-pre.target"]; | ||
156 | }; | ||
157 | }; | ||
146 | xss-lock = { | 158 | xss-lock = { |
147 | Service = { | 159 | Service = { |
148 | Environment = [ "XSECURELOCK_WANT_FIRST_KEYPRESS=1" ]; | 160 | Environment = [ "XSECURELOCK_WANT_FIRST_KEYPRESS=1" ]; |