summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/systemd.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-05-26 13:52:19 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-05-26 13:52:19 +0200
commit3dbd45aa7a4ceacfac968f8a15a364d4fead522c (patch)
treebb3ec5ae2572ace62f24ff55d798d4081efeddbc /accounts/gkleen@sif/systemd.nix
parent8d39e40bcf6da354c2e5ff2f1b4b8981c5fcf7f5 (diff)
downloadnixos-3dbd45aa7a4ceacfac968f8a15a364d4fead522c.tar
nixos-3dbd45aa7a4ceacfac968f8a15a364d4fead522c.tar.gz
nixos-3dbd45aa7a4ceacfac968f8a15a364d4fead522c.tar.bz2
nixos-3dbd45aa7a4ceacfac968f8a15a364d4fead522c.tar.xz
nixos-3dbd45aa7a4ceacfac968f8a15a364d4fead522c.zip
...
Diffstat (limited to 'accounts/gkleen@sif/systemd.nix')
-rw-r--r--accounts/gkleen@sif/systemd.nix12
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" ];