https://github.com/polyfrost/infra
https://github.com/polyfrost/infra
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polyfrost/infra
- Owner: Polyfrost
- Created: 2024-05-08T04:59:24.000Z (about 2 years ago)
- Default Branch: nixos
- Last Pushed: 2026-01-24T17:26:19.000Z (5 months ago)
- Last Synced: 2026-01-25T06:35:17.918Z (5 months ago)
- Language: Nix
- Size: 292 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polyfrost infrastructure
This repository contains the code for all of the Polyfrost infrastructure (primarily our VPS,
hosting maven and the such).
## Project setup
Our VPS is managed using NixOS. The entrypoints for NixOS configurations are located at
`nixos/hosts/CONFIGURATION/default.nix`. In addition to base NixOS, we also use `sops-nix` for
secrets provisioning, `nixos-anywhere` and `disko` for VPS setup, and `nixos-facter` for hardware
configuration.
All NixOS configurations are exported via Nix Flake with outputs for nixos-rebuild and colmena.
This project also contains a nix-direnv configuration which provides the binaries for packages and
utilities needed to work on this repository. In addition, treefmt-nix is setup for code formatting,
so just use `nix fmt` to format all code.
A `Justfile` is also provided, which can simplify a lot of common tasks, run `just` to have all the
tasks listed.