Find a file
Tristan Daniël Maat a9d3c1c5e7
flake.lock: Update
Flake lock file updates:

• Updated input 'deploy-rs':
    'github:serokell/deploy-rs/31c32fb2959103a796e07bbe47e0a5e287c343a8' (2023-09-12)
  → 'github:serokell/deploy-rs/915327515f5fd1b7719c06e2f1eb304ee0bdd803' (2023-12-13)
• Updated input 'deploy-rs/flake-compat':
    'github:edolstra/flake-compat/009399224d5e398d03b22badca40a37ac85412a1' (2022-11-17)
  → 'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
• Updated input 'deploy-rs/nixpkgs':
    'github:NixOS/nixpkgs/bb31220cca6d044baa6dc2715b07497a2a7c4bc7' (2022-12-19)
  → 'github:NixOS/nixpkgs/e97b3e4186bcadf0ef1b6be22b8558eab1cdeb5d' (2023-12-11)
• Updated input 'deploy-rs/utils':
    'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
  → 'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725' (2023-12-04)
• Added input 'deploy-rs/utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'foundryvtt':
    'github:reckenrode/nix-foundryvtt/3358ccef0ea3e06faabe8c54761fb8a0862b80d4' (2023-08-10)
  → 'github:reckenrode/nix-foundryvtt/f624c0ceabe13dd876ecff871e0dc7f55f96e993' (2023-12-01)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/ace5093e36ab1e95cb9463863491bee90d5a4183' (2023-09-15)
  → 'github:nixos/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/ea208e55f8742fdcc0986b256bdfa8986f5e4415' (2023-09-12)
  → 'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/5601118d39ca9105f8e7b39d4c221d3388c0419d' (2023-09-02)
  → 'github:NixOS/nixpkgs/b8f33c044e51de6dde3ad80a9676945e0e4e3227' (2023-12-09)
2023-12-29 16:48:47 +01:00
configuration staging: Use a static ssh host key 2023-12-29 16:48:23 +01:00
keys staging: Use a static ssh host key 2023-12-29 16:48:23 +01:00
lib refactoring: Use flake-inputs instead of awkwardly passing through 2023-02-26 05:59:09 +00:00
modules webserver: Use a hardened systemd unit instead of a container 2022-10-14 05:58:11 +01:00
pkgs metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00
.gitignore Start reworking the server for nix flakes 2021-04-12 01:58:03 +01:00
.sops.yaml staging: Use a static ssh host key 2023-12-29 16:48:23 +01:00
flake.lock flake.lock: Update 2023-12-29 16:48:47 +01:00
flake.nix metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00
LICENSE Add LICENSE 2019-11-26 23:26:10 +00:00
README.md README.md: Update to new and improved flake mechanisms 2022-10-17 14:29:56 +01:00

tlater.net server configuration

This is the NixOS configuration for tlater.net.

Testing

Run a test VM with:

nix run

Running

Note: M-2 will bring up a console for poweroff and such

One caveat: create a larger disk image first. This can be done by running the following in the repository root:

qemu-img create -f qcow2 ./tlaternet.qcow2 20G

New services

Whenever a new service is added, add an appropriate port binding to qemuNetOpts in the default app.

There is no way to test this without binding to the host port, sadly.

Deploying

Deployment is handled using deploy-rs:

deploy .#tlaternet