--- /dev/null
+#!/usr/bin/python3
+import os, shutil, subprocess, sys
+
+def main():
+ os.environ["NP_RUNTIME"] = "bwrap"
+ sys.exit(subprocess.run([shutil.which("nix-portable"), "nix", "run", "nixpkgs#senpai"]).returncode)
setup_ubpkg = 'p7s.ubpkg:setup_ubpkg'
setup_paperwm = 'p7s.paperwm:setup_paperwm'
setup_x12 = 'p7s.x12:setup_x12'
+senpai = 'p7s.senpai:main'
--package qemu-img \
--package cdrtools \
--package mailutils \
- --package senpai \
--aur-package telegram-tdlib-purple-minimal-git \
--aur-package bitlbee-libpurple \
workstation
# Set up
-My [workstation container image](build_workstation) includes Bitlbee, and the Telegram/Bitlbee adapter.
+My [workstation container image](build_workstation) includes Soju, Bitlbee, and the Telegram/Bitlbee adapter.
I have Python scripts that configure [soju](../scripts/p7s/soju.py) and [Bitlbee](../scripts/p7s/bitlbee.py) as persistent systemd services running as containers.
-The container image also includes Senpai, which I run using [distrobox](https://distrobox.it/).
+I use [Senpai](https://git.sr.ht/~delthas/senpai/) through [nix-portable](https://github.com/DavHau/nix-portable).
I install Goguma on my phone using [F-Droid](https://f-droid.org/).