Add ceph support (should have been here from the start)

main
kalle 2024-11-22 20:19:47 +01:00
parent d39dce176f
commit 597e903e98
1 changed files with 11 additions and 0 deletions

View File

@ -79,13 +79,24 @@
];
files = [
"/etc/machine-id"
# SSH Server
{ file = "/etc/ssh/ssh_host_ed25519_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_ed25519_key.pub"; mode = "0644"; }
{ file = "/etc/ssh/ssh_host_rsa_key"; mode = "0600"; }
{ file = "/etc/ssh/ssh_host_rsa_key.pub"; mode = "0644"; }
# Ceph Client
{ file = "/etc/ceph/ceph.conf"; mode = "0644"; }
];
};
services.ceph = {
enable = true;
global = {
fsid = "b9b22d11-3492-49a6-92b7-b36cdf0161fe";
monHost = "v2:192.168.1.239:3300/0,v1:192.168.1.239:6789/0";
};
};
system.stateVersion = lib.mkDefault "24.05";
};
}