Go to file
Agatha Lovelace 5fc359128c
Fix lockscreen update script
2023-10-06 22:12:22 +02:00
common Fix lockscreen update script 2023-10-06 22:12:22 +02:00
external Add per-host themes; Update lockscreen config; Refactor module structure 2023-10-04 14:56:46 +02:00
hosts Add syncthing 2023-10-04 14:57:52 +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