tvl-depot/ops/modules
Vincent Ambo 9204b58f15 feat(automatic-gc): robust way to disable automatic-gc
We just had a minor incident where apparently our build cache for the
critical security fix was deleted by automatic-gc (which I had stopped
manually) being reenabled by an unrelated whitby deploy.

This adds a new mechanism where by touching a file called
`/run/stop-automatic-gc` the GC can be prevented from running.

We might want to configure an occasional alert or something if this
file exists, so we don't forget about it when we are using it.

Change-Id: I041e57e24b2b684696164a2d516581d7f5696ef0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11326
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
2024-03-31 21:44:26 +00:00
..
tvl-slapd chore(3p/sources): Bump channels & overlays 2022-08-13 14:43:05 +00:00
www feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
.skip-subtree refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
atward.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
auto-deploy.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
automatic-gc.nix feat(automatic-gc): robust way to disable automatic-gc 2024-03-31 21:44:26 +00:00
btrfs-auto-scrub.nix chore(ops/modules/btrfs-auto-scrub): schedule later by default 2024-02-15 00:03:45 +00:00
cgit.nix refactor(ops/cgit): make user configurable 2022-07-12 08:49:55 +00:00
clbot.nix chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
default-imports.nix feat(ops/auto-deploy): Support auto-deploy 2021-12-26 14:55:42 +00:00
default.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
depot-inbox.nix chore(3p/sources): Bump channels & overlays 2023-06-15 17:09:02 +00:00
depot-replica.nix fix(depot-replica): make the depot replica world readable 2022-07-12 08:49:55 +00:00
gerrit-autosubmit.nix fix: explicit dependencies on network-online.target 2024-02-26 11:48:32 +00:00
irccat.nix fix(ops/modules/irccat): recursively merge config attribute set 2023-11-26 22:16:16 +00:00
josh.nix revert(ops/code.tvl.fyi): fix josh-proxy cmdline args 2023-10-10 06:36:50 +00:00
journaldriver.nix refactor(ops/modules): Move journaldriver configuration into module 2022-02-18 11:38:34 +00:00
known-hosts.nix fix(ops/modules): adapt for changed ssh.knownHosts 2022-05-26 10:05:54 +00:00
livegrep.nix feat(ops/modules): reindex livegrap when depot refs change 2024-02-18 08:20:50 +00:00
monorepo-gerrit.nix fix(ops/gerrit): mitigate Quarkus temporarily 2024-02-15 16:23:32 +00:00
nixery.nix fix(ops/nixery): switch nixery.dev to stable nixpkgs channel 2023-08-22 15:01:02 +00:00
open_eid.nix chore(ops/modules/open_eid): use nativeMessagingHosts.packages 2024-03-13 18:06:19 +00:00
owothia.nix feat(3p/agenix): update to 2022-05-16 and add to niv 2022-05-25 15:00:37 +00:00
panettone.nix fix(ops/modules): regularly restart panettone for b/225 2022-12-05 09:40:38 +00:00
paroxysm.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
prometheus-fail2ban-exporter.nix refactor(ops): Break out prometheus-fail2ban-exporter module 2021-06-12 15:51:49 +00:00
quassel.nix fix(ops/modules/quassel): use systemd LoadCredential to read certs 2023-06-15 21:34:36 +00:00
README.md refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
restic.nix style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
smtprelay.nix feat(3p/agenix): update to 2022-05-16 and add to niv 2022-05-25 15:00:37 +00:00
sourcegraph.nix chore(ops/sourcegraph): Bump to 3.40.0 2022-05-28 11:58:34 +00:00
tvl-buildkite.nix fix(ops/modules/tvl-buildkite): add /run/wrappers/bin to $PATH 2023-09-24 19:30:15 +00:00
tvl-cache.nix fix: reflect renames of Nix configuration options 2022-08-25 16:34:39 +00:00
tvl-headscale.nix feat(ops): introduce (head|tail)scale server at net.tvl.fyi 2023-06-22 13:23:14 +00:00
tvl-users.nix chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
yandex-cloud.nix fix(ops/modules): remove cloud-init from yandex-cloud module 2023-10-08 18:13:49 +00:00

NixOS modules

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

It is not read by readTree.