sane-private-unlock: only unlock if we actually have a session

This commit is contained in:
2025-06-12 19:14:45 +00:00
parent 331cbaf926
commit cfc08dc06c

View File

@@ -119,7 +119,7 @@ in
sandbox.extraPaths = [ "/run/gocryptfs" ]; sandbox.extraPaths = [ "/run/gocryptfs" ];
sandbox.whitelistSystemctl = true; sandbox.whitelistSystemctl = true;
fs.".profile".symlink.text = '' fs.".profile".symlink.text = ''
sane-private-unlock sessionCommands+=('sane-private-unlock')
''; '';
}; };