tvl-depot/ops/modules
Vincent Ambo cc903bc3b0 feat(ops/modules): Add module for automatically collecting garbage
Adds a module that automatically collects garbage based on disk space
thresholds, and configures it to run hourly on whitby.

This is implemented as an alternative to cl/2937, which I've been told
uses a Nix feature that doesn't actually work.

Under-the-hood this is simply a systemd timer running a shell script
which checks available disk space and runs GC when necessary.

Change-Id: I3c6b5de85b74ea52e7e16c53f2f900e0911c9805
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3014
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
2021-04-14 19:37:21 +00:00
..
tvl-slapd refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
tvl-sso refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
www feat(whitby): Enable Grafana at status.tvl.su 2021-04-12 22:01:05 +00:00
.skip-subtree refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
automatic-gc.nix feat(ops/modules): Add module for automatically collecting garbage 2021-04-14 19:37:21 +00:00
clbot.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
default.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
irccat.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
monorepo-gerrit.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
panettone.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
paroxysm.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
quassel.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
README.md refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
smtprelay.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
sourcegraph.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
tvl-buildkite.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
v4l2loopback.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00

NixOS modules

This folder contains various NixOS modules shared by our NixOS configurations.

It is not read by readTree.