commit | 05e11c10889af05d09a034f628eae8608825c47b | [log] [tgz] |
---|---|---|
author | Skyler Grey <minion@clicks.codes> | Sat Jun 15 00:02:15 2024 +0000 |
committer | Samuel Shuert <coded@clicks.codes> | Sat Jun 15 00:40:30 2024 +0000 |
tree | 597d776cb722a4bbd71485d32073a1b65ef4e57e | |
parent | 0e05b5227d335a0d4f647f285118cbccda1ff15a [diff] |
feat: create backups module We currently have backups via a shell script on the machine vermilion.bravo. Unfortunately, we can't activate these backups without setting up a user, and that wasn't done yet for teal. This commit adds backups, and also enforces their activation by failing to evaluate if a backups key has not been provided and backups have not been explicitly disabled. Change-Id: Ia37bd13cb8de6e20cc77e735630a59cb0c5d0fb4 Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/756 Tested-by: Skyler Grey <minion@clicks.codes> Reviewed-by: Samuel Shuert <coded@clicks.codes>
This repository contains system configuration for Clicks's infrastructure.
Config is written using Snowfall lib. It keeps us organized and has some nice features like namespaces.
Devices are named after colors, areas are named as a letter, with the matching phonetic alphabet word. Areas are generally managed by one member of Clicks, who has full access to all of the servers in that area. If you require help for a specific area you can email admin@clicks.codes
and in the subject line include the area you want help for.
System | Description | Address |
---|---|---|
teal | Primary Host | teal.alpha.clicks.domains |
a1d2 | Build Server | d2.a1.clicks.domains |
Deploys are done with deploy-rs, you'll need to be able to ssh into a machine with its hostname (either by a nifty .ssh/config
rule or tailscale
).
Once you've done that, you'll be able to deploy with
$ deploy .#MACHINE_NAME