commit | 38d4a3ecc05b057a0f09f261d5ad38ce1c364e24 | [log] [tgz] |
---|---|---|
author | Skyler Grey <sky@a.starrysky.fyi> | Fri Aug 02 19:47:04 2024 +0000 |
committer | Skyler Grey <minion@clicks.codes> | Fri Aug 02 21:00:57 2024 +0000 |
tree | ec99a557943656ae07dc3e8d464fc14bde7f344c | |
parent | 3637b8aa1063963ea91fa2cf9cb8813c62e231d3 [diff] |
fix(non-clicks): Re-export dependencies Due to how mkIf continues to check definitions past a `false`, this is invalid unless `environment.persistence` is defined config = lib.mkIf false { environment.persistence = { ... }; }; This is a big problem for people importing our modules, who may not have had, say, `impermanence` imported We considered using `lib.optionalAttrs` instead, but this causes a lot of infinite recursion elsewhere in our config, so we decided this was a more "cost effective" way of spending our time, even if it will likely cause downstream configs to import more than they technically need... Change-Id: I433d34395b0449de17af2dea2a8a3138c1ff6dba Reviewed-on: https://git.clicks.codes/c/Infra/NixFiles/+/808 Reviewed-by: Skyler Grey <minion@clicks.codes> Tested-by: Skyler Grey <minion@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