nixos/colony: Use temporary LVs until SSD is replaced

This commit is contained in:
Jack O'Sullivan 2023-01-11 20:06:09 +00:00
parent 1aa16f7de9
commit 6fe897fd3c
3 changed files with 7 additions and 5 deletions

View File

@ -72,11 +72,11 @@
fsType = "vfat"; fsType = "vfat";
}; };
"/nix" = { "/nix" = {
device = "/dev/ssds/colony-nix"; device = "/dev/hdds/tmp-colony-nix";
fsType = "ext4"; fsType = "ext4";
}; };
"/persist" = { "/persist" = {
device = "/dev/ssds/colony-persist"; device = "/dev/hdds/tmp-colony-persist";
fsType = "ext4"; fsType = "ext4";
neededForBoot = true; neededForBoot = true;
}; };

View File

@ -14,7 +14,7 @@
name = lv; name = lv;
backend = { backend = {
driver = "host_device"; driver = "host_device";
filename = "/dev/ssds/vm-${vm}-${lv}"; filename = "/dev/hdds/tmp-vm-${vm}-${lv}";
# It appears this needs to be set on the backend _and_ the format # It appears this needs to be set on the backend _and_ the format
discard = "unmap"; discard = "unmap";
}; };
@ -156,7 +156,7 @@
name = "minio"; name = "minio";
backend = { backend = {
driver = "host_device"; driver = "host_device";
filename = "/dev/ssds/minio"; filename = "/dev/hdds/tmp-minio";
discard = "unmap"; discard = "unmap";
}; };
format = { format = {
@ -186,7 +186,7 @@
name = "oci"; name = "oci";
backend = { backend = {
driver = "host_device"; driver = "host_device";
filename = "/dev/ssds/oci"; filename = "/dev/hdds/tmp-oci";
discard = "unmap"; discard = "unmap";
}; };
format = { format = {

View File

@ -9,6 +9,8 @@
systemd = { systemd = {
services = { services = {
# TODO: get working again
hercules-ci-agent.enable = false;
hercules-ci-agent-pre = hercules-ci-agent-pre =
let let
deps = [ "hercules-ci-agent.service" ]; deps = [ "hercules-ci-agent.service" ];