summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:17:44 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:17:44 +0200
commit02133fb2ca8dc595205e04a38ea0b3f60cc72d5f (patch)
treea6c4ebe2e3666b34196731898a4e085e6be2569f /accounts/gkleen@sif/default.nix
parent2b607331d1495e23d2bac08d81d07da8c3a1041a (diff)
downloadnixos-02133fb2ca8dc595205e04a38ea0b3f60cc72d5f.tar
nixos-02133fb2ca8dc595205e04a38ea0b3f60cc72d5f.tar.gz
nixos-02133fb2ca8dc595205e04a38ea0b3f60cc72d5f.tar.bz2
nixos-02133fb2ca8dc595205e04a38ea0b3f60cc72d5f.tar.xz
nixos-02133fb2ca8dc595205e04a38ea0b3f60cc72d5f.zip
...
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r--accounts/gkleen@sif/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index e1f6d9bb..3a051a7a 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -98,9 +98,10 @@ let
98 lockCommand = pkgs.writeShellScript "gtklock" '' 98 lockCommand = pkgs.writeShellScript "gtklock" ''
99 set -x 99 set -x
100 100
101 export PATH="${lib.makeBinPath [cfg.programs.wpaperd.package pkgs.jq pkgs.coreutils pkgs.gtklock pkgs.imagemagick pkgs.findutils pkgs.dbus]}:$PATH" 101 export PATH="${lib.makeBinPath [cfg.programs.wpaperd.package pkgs.jq pkgs.coreutils pkgs.gtklock pkgs.imagemagick pkgs.findutils pkgs.dbus pkgs.systemd]}:$PATH"
102 102
103 dbus-send --session --dest=org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.KeePassXC.MainWindow.lockAllDatabases 103 dbus-send --session --dest=org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.KeePassXC.MainWindow.lockAllDatabases
104 systemctl --user --no-block stop gpg-agent.service
104 105
105 tmpDir=$(mktemp -d --tmpdir="$RUNTIME_DIRECTORY" "gtklock.$(date -uIs).XXXXXXXX") 106 tmpDir=$(mktemp -d --tmpdir="$RUNTIME_DIRECTORY" "gtklock.$(date -uIs).XXXXXXXX")
106 107