plan9portセットアップ
This content is a draft and will not be included in production builds.
git clone https://aur.archlinux.org/plan9port-wayland-git.gitcd plan9port-wayland-gitmakepkg -si
homectl update lufia --setenv PLAN9=/usr/lib/plan9dotfiles
Section titled “dotfiles”2025年3月6日に dotfiles をプライベートリポジトリに変更したので、git-credential-factotum の設定が終わるまでは参照できないのだが、見れないと色々面倒なことになるので一時的に git-credential-store を使って誤魔化す。
ここで作成したファイルは 必ず削除しなければならない ので忘れないように。
git config --global credential.helper storevi ~/.git-credentials~/.git-credentials の内容はURL形式で書く。
https://user:pass@github.comできたら取得する。
git clone https://github.com/lufia/dotfiles.git必要なファイルを復元して、上で作った設定を削除する。
rm ~/.gitconfig ~/.git-credentials/usr/lib/plan9/ndb/local に以下の内容を追加する。
authdom=mana.lufia.org auth=a.lufia.org cpu=c.lufia.orggit clone https://github.com/lufia/plan9port-systemd-units.gitcd plan9port-systemd-unitsmakepkg -sisecstore
Section titled “secstore”run0 systemctl enable --now secstored.servicerun0 --setenv=PLAN9=/usr/lib/plan9 secuser -v lufia別の環境から factotum の内容を取り込んでおく。
secstore -p factotumrm factotumfactotum
Section titled “factotum”一般的な情報はユーザー権限でsystemd-credsを使うとして書いた。
vi secstore.keysystemd-creds --user --name=secstore.secret encrypt secstore.key ~/lib/secstore.keyrm secstore.keycredential-helper
Section titled “credential-helper”git clone https://github.com/lufia/git-credential-factotum.gitcd git-credential-factotummk -f mkfile.unix installこれで使えるはず。
git config --global credential.helper factotumdrawterm
Section titled “drawterm”git clone https://github.com/9fans/drawterm.gitcd drawtermmake 'CONF=unix'