2025年業務PCセットアップ
This content is a draft and will not be included in production builds.
基本部分はArch Linuxセットアップを参照する。
iptables
Section titled “iptables”cd dotfilesrun0 cp cfg/iptables/iptables.rules /etc/iptables/iptables.rulesrun0 systemctl enable --now iptables.service設定についてはiptablesの設定で書いた。Dockerでnftablesを使う設定もあるが、2025年時点では動かなかった。
docker
Section titled “docker”pacman -S dockerpacman -Sd docker-buildxcommands
Section titled “commands”Flatpak
flatpak install com.slack.Slackflatpak install com.visualstudio.codeflatpak install com.google.Chrome # Slackに必要flatpak install md.obsidian.Obsidian
flatpak --user override --socket=wayland com.visualstudio.codeFlatpakのElectronアプリで日本語入力を行う方法
services
Section titled “services”- 1Password
- (Argent X)
- okta
- Slack
- GitHub
settings
Section titled “settings”GOPATH=~ go install github.com/lufia/dotsync
git clone https://github.com/lufia/dotfiles.git
copy firefox bookmarks
create Obsidian Vault
run0 pacman -S udisks2# systemctl enable --now udisks2.service は不要
run0 pacman -S github-cli jqgh extension install lufia/gh-announce
# 既存の環境変数は/var/lib/systemd以下から読んで同じ値を設定するhomectl update lufia --setenv GNUPGHOME=$HOME/.local/share/gnupgバックアップ
Section titled “バックアップ”borg を使う。
取得するときはこんなコマンド。
borg create --progress /run/media/lufia/MOBILE/vaio-sx14r::lufia-pc-2026-01-16 . --exclude ~/lib/borg-user.excludeborgバックアップの使い方もある。