Go to file
Agatha Lovelace c9a4e46f04
Paramount theme for pastebin
2023-10-22 13:15:24 +02:00
common Paramount theme for pastebin 2023-10-22 13:15:24 +02:00
external Paramount theme for pastebin 2023-10-22 13:15:24 +02:00
hosts Enable syncthing on all graphical devices 2023-10-22 13:14:41 +02:00
ops/home flakes :3 2023-03-08 10:27:16 +01:00
.envrc Add colmena devshell 2023-04-19 10:24:08 +02:00
.gitignore Add colmena devshell 2023-04-19 10:24:08 +02:00
README.md Add desktop entry for work Element profile 2023-09-14 16:25:34 +02:00
flake.lock Add restic 2023-10-04 14:58:29 +02:00
flake.nix Add restic 2023-10-04 14:58:29 +02:00

README.md

Nix Infra Config

Using colmena

Hosts

  • bloodletting: Main server
  • ritual: NixOS laptop

Manual setup on blank system/migrations

Bloodletting:

  • colmena apply - deploy config
  • passwd - 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 config
  • mkdir -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

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>"

Reference configs used