Add unix socket to configuration example
This commit is contained in:
parent
5f43c1141b
commit
77d02a8337
|
@ -1,10 +1,13 @@
|
|||
; Expose a dataspace over a unix socket
|
||||
let ?root_ds = dataspace
|
||||
<require-service <relay-listener <unix "/run/user/1000/dataspace"> $gatekeeper>>
|
||||
<bind "syndicate" #x"" $root_ds>
|
||||
|
||||
<require-service <daemon uri_runner>>
|
||||
|
||||
<daemon uri_runner {
|
||||
argv: ["/home/repo/syndicate/xdg_open_ng/src/uri_runner"]
|
||||
dir: "/tmp"
|
||||
argv: "uri_runner"
|
||||
protocol: text/syndicate
|
||||
clearEnv: #f
|
||||
}>
|
||||
|
||||
? <service-object <daemon uri_runner> ?cap> [
|
||||
|
@ -12,6 +15,6 @@
|
|||
["gemini://.*|file:///.*.gmi", ["/run/current-system/sw/bin/kristall" "\\1"]]
|
||||
["http://.*|https://.*|.*html", ["/run/current-system/sw/bin/firefox" "\\1"]]
|
||||
["tox:.*|uri:tox:.*", ["/run/current-system/sw/bin/qtox" "\\1"]]
|
||||
[".*mkv", ["/run/current-system/sw/bin/mpv" "\\1"]]
|
||||
[".*\\.avi|.*\\.mp4|.*mkv", ["/run/current-system/sw/bin/mpv" "\\1"]]
|
||||
] } >
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue