summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-11 09:05:22 -0500
committerseth <[email protected]>2023-12-11 09:27:00 -0500
commit2cc090871c1d6c989c72c45f0f8192ecc7d58129 (patch)
treeef984f5ee940bdb01d5492ccf76b253c0aca8707
parenta9dbe4ae34d26fc31667a92adba83c18fcf2cb9f (diff)
atlas: actually use b2 for attic
-rw-r--r--flake.nix2
-rw-r--r--modules/shared/nix.nix2
-rw-r--r--systems/atlas/attic.nix8
3 files changed, 5 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index 2ab5ea7..a4e013c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,7 +3,7 @@
nixConfig = {
extra-substituters = ["https://cache.mydadleft.me/getchoo"];
- extra-trusted-public-keys = ["getchoo:rH35+W+4SV7UV9RTr69LwkH7b24Djui2ZQIQvPxzJCg="];
+ extra-trusted-public-keys = ["getchoo:6DIF4zCJcRCrTpx8lrnoapenxoMmcfpU8/cdayOtxE4="];
};
inputs = {
diff --git a/modules/shared/nix.nix b/modules/shared/nix.nix
index 040cdc3..bb9cf1c 100644
--- a/modules/shared/nix.nix
+++ b/modules/shared/nix.nix
@@ -21,7 +21,7 @@
experimental-features = lib.mkDefault ["nix-command" "flakes" "auto-allocate-uids" "repl-flake"];
trusted-substituters = lib.mkDefault ["https://cache.mydadleft.me/getchoo"];
- trusted-public-keys = lib.mkDefault ["getchoo:rH35+W+4SV7UV9RTr69LwkH7b24Djui2ZQIQvPxzJCg="];
+ trusted-public-keys = lib.mkDefault ["getchoo:6DIF4zCJcRCrTpx8lrnoapenxoMmcfpU8/cdayOtxE4="];
nix-path = config.nix.nixPath;
};
diff --git a/systems/atlas/attic.nix b/systems/atlas/attic.nix
index fe4e67c..d7d65c4 100644
--- a/systems/atlas/attic.nix
+++ b/systems/atlas/attic.nix
@@ -24,14 +24,12 @@
max-size = 256 * kb;
};
- database = {
+ storage = {
type = "s3";
- region = "us-west-004";
+ region = "us-west-4";
bucket = "getchoo-attic";
- endpoint = "s3.us-west-004.backblazeb2.com";
+ endpoint = "https://s3.us-west-004.backblazeb2.com";
};
-
- garbage-collection.interval = "12 hours";
};
};
}