fix keepass unlock by using AutoOpen

https://keepassxc.org/docs/KeePassXC_UserGuide#_automatic_database_opening
This commit is contained in:
chayleaf 2023-12-25 08:17:39 +07:00
parent 862d3cd691
commit f6c33bf42d
Signed by: chayleaf
GPG key ID: 78171AD46227E68E

View file

@ -109,7 +109,7 @@ commonConfig = {
/run/current-system/sw/bin/busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b true
''}
${pkgs.home-daemon}/bin/home-daemon system76-scheduler&
${pkgs.gnome.zenity}/bin/zenity --password | ${pkgs.coreutils}/bin/tee /dev/stdout | (${pkgs.keepassxc}/bin/keepassxc --pw-stdin ~/Nextcloud/keepass.kdbx ~/var/local.kdbx&)
${pkgs.gnome.zenity}/bin/zenity --password | (${pkgs.gawk}/bin/awk '{print$0;print$0;}' | ${pkgs.keepassxc}/bin/keepassxc --pw-stdin ~/var/local.kdbx &)
# nextcloud and nheko need secret service access
${pkgs.nextcloud-client}/bin/nextcloud --background&
${pkgs.nheko}/bin/nheko&