Agatha Lovelace 9ed706f2a1 | ||
---|---|---|
common | ||
external | ||
hosts | ||
ops/home | ||
.envrc | ||
.gitignore | ||
README.md | ||
flake.lock | ||
flake.nix |
README.md
Nix Infra Config
Using colmena
Hosts
bloodletting
: Main serverritual
: NixOS laptop
Manual setup on blank system/migrations
Bloodletting:
colmena apply
- deploy configpasswd
- set user passwords- rsync state:
/var/lib
:acme/.lego
bin_rs
fail2ban
grafana
homepage
mastodon
- dump and import Postgres and Redis DBs
matterbridge
mc-e2e
mc-enigmatica-8
mstdn-ebooks
nyandroid
prometheus2
/home/ftp
Ritual:
colmena apply[-local]
- deploy configmkdir -p ~/.gnupg
- create directory for gnupg- copy
~/.ssh/id_ed25519
- manual configuration/login:
- Firefox
- Copy extension data
- Element
- Telegram Desktop
- Geary
- Obsidian
- Spicetify
- Copy plugins/themes/patches
- Firefox
Rsyncd Modules
Modded minecraft instance rsync modules can be accessed through mc-[modpack]@bloodletting::mc-[modpack]
with --rsh=ssh
Updating mastodon
eval "$(nix build --impure --expr 'let pkgs = import <nixpkgs> { }; in pkgs.callPackage ./update.nix {}' --no-link --print-out-paths)/bin/update.sh --ver <commit hash>"