anchor.diff:    cephConfigMonA = generateCephConfig { daemonConfig = {
       mon = {
         enable = true;
  -      daemons = [ "a" ];
  +      daemons = [ cfg.monA.name ];
       };
       mgr = {
         enable = true;
  -      daemons = [ "a" ];
  +      daemons = [ cfg.monA.name ];
       };
     }; };
   
     networkOsd0 = {
       dhcpcd.enable = false;
       interfaces.eth1.ipv4.addresses = pkgs.lib.mkOverride 0 [
  -      { address = "192.168.1.2"; prefixLength = 24; }
  +      { address = cfg.osd0.ip; prefixLength = 24; }
       ];
       firewall = {
         allowedTCPPortRanges = [ { from = 6800; to = 7300; } ];
  
positive.code: 
      # Create the ceph-related directories
      $monA->mustSucceed(
        "mkdir -p /var/lib/ceph/mgr/ceph-a",
        "mkdir -p /var/lib/ceph/mon/ceph-a",
        "chown ceph:ceph -R /var/lib/ceph/",
        "mkdir -p /etc/ceph",
        "chown ceph:ceph -R /etc/ceph"
      );
      $osd0->mustSucceed(
        "mkdir -p /var/lib/ceph/osd/ceph-0",
        "chown ceph:ceph -R /var/lib/ceph/",
        "mkdir -p /etc/ceph",
        "chown ceph:ceph -R /etc/ceph"
      );
      $osd1->mustSucceed(
        "mkdir -p /var/lib/ceph/osd/ceph-1",
        "chown ceph:ceph -R /var/lib/ceph/",
        "mkdir -p /etc/ceph",
        "chown ceph:ceph -R /etc/ceph"
  
negative.code: import ./make-test.nix ({pkgs, lib, ...}:
  
  let
    cfg = {
      clusterId = "066ae264-2a5d-4729-8001-6ad265f50b03";
      monA = {
        name = "a";
        ip = "192.168.1.1";
      };
      osd0 = {
        name = "0";
        ip = "192.168.1.2";
        key = "AQBCEJNa3s8nHRAANvdsr93KqzBznuIWm2gOGg==";
        uuid = "55ba2294-3e24-478f-bee0-9dca4c231dd9";
      };
      osd1 = {
        name = "1";
        ip = "192.168.1.3";
        key = "AQBEEJNac00kExAAXEgy943BGyOpVH1LLlHafQ==";
        uuid = "5e97a838-85b6-43b0-8950-cb56d554d1e5";
      };
    };
    generateCephConfig = { daemonConfig }: {
      enable = true;
      global = {
        fsid = cfg.clusterId;
        monHost = cfg.monA.ip;
        monInitialMembers = cfg.monA.name;
      };
    } // daemonConfig;
  
  