tahani: allow opencode external_directory access for inbox-triage ingestion
This commit is contained in:
@@ -62,6 +62,12 @@
|
|||||||
in {
|
in {
|
||||||
programs.git.settings.user.email = "christoph@schmatzler.com";
|
programs.git.settings.user.email = "christoph@schmatzler.com";
|
||||||
|
|
||||||
|
# Allow inbox-triage to access attachment staging and paperless ingestion dirs
|
||||||
|
programs.opencode.settings.permission.external_directory = {
|
||||||
|
"/tmp/himalaya-triage/*" = "allow";
|
||||||
|
"/var/lib/paperless/consume/inbox-triage/*" = "allow";
|
||||||
|
};
|
||||||
|
|
||||||
# Auto-start zellij in nushell on tahani (headless server)
|
# Auto-start zellij in nushell on tahani (headless server)
|
||||||
programs.nushell.extraConfig = ''
|
programs.nushell.extraConfig = ''
|
||||||
if $nu.is-interactive and ('SSH_CONNECTION' in ($env | columns)) and ('ZELLIJ' not-in ($env | columns)) {
|
if $nu.is-interactive and ('SSH_CONNECTION' in ($env | columns)) and ('ZELLIJ' not-in ($env | columns)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user