[Router] === wifi nework domain 1 === [VM server] === bridge0, network domain 2 === VM1, VM2, Container1, Container2
- VM Server is Archlinux with systemd networkd
- Router is Edgerouter X with Openwrt
TODO:
- mDNS with Avahi Reflector
// Place your key bindings in this file to override the defaultsauto[] | |
// ~/.config/Code/User/keybindings.json | |
[ | |
{ | |
"key": "ctrl+g", | |
"command": "editor.action.nextMatchFindAction", | |
"when": "editorFocus" | |
} | |
] |
# ~/.config/helix/languages.toml | |
# add the language server | |
[language-server.pyright] | |
command = "pyright-langserver" | |
args = ["--stdio"] | |
# will get "Async jobs timed out" errors if this empty config is not added | |
config = {} | |
# tie python files to pyright |
k3s doesn't have a builtin plugin for a local registry, so this is how to install the docker registry. The registry will be exposed via the default traefik ingress (on port 80 and 443).
resolvectl query registry.localhost
returns 127.0.0.1
- on most Linux distros it does.
If not, enable and configure systemd-resolved
[Unit] | |
Description=SSH key agent | |
Documentation=man:ssh-agent(1) | |
# Configure ssh to use the socket: | |
# cat ~/.ssh/config | |
# Host * | |
# IdentityAgent ${XDG_RUNTIME_DIR}/ssh-agent.socket | |
# ... | |
# |
# /etc/soju/config | |
# only accept connections from nginx, so insecure is fine | |
… | |
accept-proxy-ip localhost | |
listen irc+insecure://127.0.0.1:12000 | |
listen ws+insecure://127.0.0.1:12001 | |
hostname <my-hostname> | |
… |
# nix-build -E 'with import <nixpkgs> {}; callPackage ./default-2.nix {}' | |
{ stdenv | |
, fetchFromGitHub | |
, fetchYarnDeps | |
, fixup_yarn_lock | |
, nodejs | |
, nodejs-slim | |
, matrix-sdk-crypto-nodejs | |
}: |
#!/bin/bash | |
# | |
# /etc/kernel/postinst.d/zz-update-systemd-boot | |
# 0755 root:root | |
# | |
# This is a simple kernel hook to populate the systemd-boot entries | |
# whenever kernels are added or removed. | |
# | |
set -euo pipefail |
# /etc/systemd/system/pleroma.service | |
[Unit] | |
Description=Pleroma is a federated social networking platform | |
Documentation=https://docs-develop.pleroma.social/ | |
After=network.target | |
[Service] | |
Type=simple | |
DynamicUser=yes | |
StateDirectory=pleroma |