Add ceph support (should have been here from the start)
parent
d39dce176f
commit
597e903e98
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue