aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/README.md2
-rw-r--r--scripts/p7s/bitlbee.py31
-rw-r--r--scripts/pyproject.toml1
3 files changed, 0 insertions, 34 deletions
diff --git a/scripts/README.md b/scripts/README.md
index 214e3162..24a50548 100644
--- a/scripts/README.md
+++ b/scripts/README.md
@@ -23,5 +23,3 @@ pipx install -e scripts/ # alternatively, use uv tool install -e .
...
git remote set-url origin git@github.com:alexpdp7/alexpdp7.git
```
-
-See [workstation](../workstation) for further details.
diff --git a/scripts/p7s/bitlbee.py b/scripts/p7s/bitlbee.py
deleted file mode 100644
index 4f0acbd4..00000000
--- a/scripts/p7s/bitlbee.py
+++ /dev/null
@@ -1,31 +0,0 @@
-import pathlib
-import textwrap
-
-
-def setup_bitlbee():
- home = pathlib.Path.home()
- config = home / ".config" / "containers" / "systemd"
- config.mkdir(parents=True, exist_ok=True)
- (config / "bitlbee.container").write_text(textwrap.dedent("""
- [Unit]
- Description=IM-IRC bridge
-
- [Container]
- Image=quay.io/alexpdp7/workstation:latest
- Volume=/home/alex/.local/lib/bitlbee:/var/lib/bitlbee/
- # running this on an LXC container, which borks SecurityLabelDisable
- #SecurityLabelDisable=true
- PublishPort=6668:6667
-
- Exec=bitlbee -Fnv
-
- [Service]
- # Extend Timeout to allow time to pull the image
- TimeoutStartSec=900
-
- [Install]
- # Start by default on boot
- WantedBy=multi-user.target default.target
- """).lstrip())
-
- (home / ".local" / "lib" / "bitlbee").mkdir(parents=True, exist_ok=True)
diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml
index 61cad795..36bf52c2 100644
--- a/scripts/pyproject.toml
+++ b/scripts/pyproject.toml
@@ -7,7 +7,6 @@ dependencies = []
[project.scripts]
ruscreen = 'p7s.ruscreen:main'
setup-bash = 'p7s.bash:setup_bash'
-setup-bitlbee = 'p7s.bitlbee:setup_bitlbee'
setup-emacs = 'p7s.emacs:setup_emacs'
setup-mbsync = 'p7s.mail:setup_mbsync'
setup-nextcloud = 'p7s.nextcloud:setup_nextcloud'