nixos/colony: Use temporary LVs until SSD is replaced
This commit is contained in:
parent
1aa16f7de9
commit
6fe897fd3c
@ -72,11 +72,11 @@
|
||||
fsType = "vfat";
|
||||
};
|
||||
"/nix" = {
|
||||
device = "/dev/ssds/colony-nix";
|
||||
device = "/dev/hdds/tmp-colony-nix";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/persist" = {
|
||||
device = "/dev/ssds/colony-persist";
|
||||
device = "/dev/hdds/tmp-colony-persist";
|
||||
fsType = "ext4";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
@ -14,7 +14,7 @@
|
||||
name = lv;
|
||||
backend = {
|
||||
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
|
||||
discard = "unmap";
|
||||
};
|
||||
@ -156,7 +156,7 @@
|
||||
name = "minio";
|
||||
backend = {
|
||||
driver = "host_device";
|
||||
filename = "/dev/ssds/minio";
|
||||
filename = "/dev/hdds/tmp-minio";
|
||||
discard = "unmap";
|
||||
};
|
||||
format = {
|
||||
@ -186,7 +186,7 @@
|
||||
name = "oci";
|
||||
backend = {
|
||||
driver = "host_device";
|
||||
filename = "/dev/ssds/oci";
|
||||
filename = "/dev/hdds/tmp-oci";
|
||||
discard = "unmap";
|
||||
};
|
||||
format = {
|
||||
|
@ -9,6 +9,8 @@
|
||||
|
||||
systemd = {
|
||||
services = {
|
||||
# TODO: get working again
|
||||
hercules-ci-agent.enable = false;
|
||||
hercules-ci-agent-pre =
|
||||
let
|
||||
deps = [ "hercules-ci-agent.service" ];
|
||||
|
Loading…
Reference in New Issue
Block a user