diff --git a/hosts/storage-ng/default.nix b/hosts/storage-ng/default.nix index 5fcd210d..5b59874c 100644 --- a/hosts/storage-ng/default.nix +++ b/hosts/storage-ng/default.nix @@ -70,7 +70,7 @@ in # secretfile does not work :( fileSystems."/mnt/cephfs" = { - device = "172.22.99.13:6789:/"; + device = "${lib.concatMapStringsSep "," (i: hostRegistry.hosts."server${i}".ip4) [ "3" "4" "5" "6" "7" "8" ]}:/"; fsType = "ceph"; options = [ "name=storage2"