Collection of nix modular configuration files to create a functional nix server/virtual machine for hosting various services.
  • Nix 96.8%
  • Shell 3.2%
Find a file
Cecyl Hingston 68c6c6e08b Bsky pds
2026-09-24 00:59:07 +12:00
Modules Bsky pds 2026-09-24 00:59:07 +12:00
.gitignore first commit 2026-09-18 00:22:16 +12:00
configuration.nix move server config into server.nix 2026-09-18 17:57:59 +12:00
README.md Fix password and create rebuild script 2026-09-18 01:06:08 +12:00
rebuild.sh Fix password and create rebuild script 2026-09-18 01:06:08 +12:00
sample.env configurable admin user 2026-09-18 01:21:11 +12:00
server.nix Bsky pds 2026-09-24 00:59:07 +12:00

Marionette

Chat on Matrix trans rights

A collection of modular nix configuration files to create a functional nix server/virtual machine for hosting various services.

Current Services

Cloudflared

Simple tunnels to route traffic through for users who manage dns through Cloudflare

Matrix

Currently the sable/sable-next clients with the Continuwuity homeserver

Usage

To build the VM run

nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-26.05 -I nixos-config=./configuration.nix

To run the VM run

QEMU_KERNEL_PARAMS=console=ttyS0 ./result/bin/run-nixos-vm -nographic; reset

To exit the VM run

sudo poweroff

Make sure to run between builds

rm nixos.qcow2

Alternatively you can run rebuild.sh to rebuild and start the VM

Each module folder will have a seperate README.md to describe how to configure the service properly