Skip to content

Commit

Permalink
Fix Ceph Mon
Browse files Browse the repository at this point in the history
Add possibility to set : "mon.node1" = { "public_addr" = "10.10.10.1"; };
  • Loading branch information
liberodark authored Nov 5, 2024
1 parent 4aa3656 commit e4e9f79
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nixos/modules/services/network-filesystems/ceph.nix
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,15 @@ in
};
package = lib.mkPackageOption pkgs "ceph" { };
extraConfig = lib.mkOption {
type = with lib.types; attrsOf str;
type = with lib.types; attrsOf (attrsOf str);
default = {};
example = lib.literalExpression ''
{
# This would create a section for a radosgw daemon named node0 and related
# configuration for it
"mon.node0" = { "some config option" = "true"; };
};
'';
description = ''
Extra configuration to add to the monitor section.
'';
Expand Down

0 comments on commit e4e9f79

Please sign in to comment.