shoveling ceph stuff around
This commit is contained in:
parent
842f142da1
commit
06c93b12f4
1 changed files with 4 additions and 14 deletions
|
|
@ -5,27 +5,17 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/generic.nix
|
./modules/generic.nix
|
||||||
./modules/headscale.nix
|
./modules/headscale.nix
|
||||||
|
./modules/ceph-common.nix
|
||||||
];
|
];
|
||||||
system.stateVersion = "21.11";
|
|
||||||
|
|
||||||
services.ceph = {
|
services.ceph = {
|
||||||
enable = true;
|
|
||||||
global.fsid = "be1051e6-ee13-44d6-a9a1-96cc36300e13";
|
|
||||||
#global.monHost = "10.0.69.234";
|
|
||||||
#global.monInitialMembers = "vpn";
|
|
||||||
#mds.enable = true;
|
|
||||||
#mds.daemons = [ "vpn"];
|
|
||||||
#mon.enable = true;
|
|
||||||
#mon.daemons = [ "vpn" ];
|
|
||||||
#mgr.enable = true;
|
|
||||||
#mgr.daemons = [ "vpn" ];
|
|
||||||
osd.enable = true;
|
osd.enable = true;
|
||||||
osd.daemons = [ "0" ];
|
osd.daemons = [ "1" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.ceph.client.enable = true;
|
documentation.enable = false;
|
||||||
environment.systemPackages = [ pkgs.ceph ];
|
|
||||||
|
|
||||||
|
system.stateVersion = "21.11";
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: set et ts=2 sw=2 ai:
|
# vim: set et ts=2 sw=2 ai:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue