---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (5, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (5, 16),
        },
        Raw {
         content: "gammu-smsd",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "configFile",
        position: (7, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (7, 16),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeText",
          position: (7, 21),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "gammu-smsd.conf",
          position: (7, 32),
         },
        ],
        position: (7, 31),
       },
       String {
        parts: [
         Raw {
          content: "[gammu]\nDevice = ",
          position: (8, 1),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (9, 16),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "device",
              position: (9, 20),
             },
             Raw {
              content: "path",
              position: (9, 27),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\nConnection = ",
          position: (9, 32),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (10, 20),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "device",
              position: (10, 24),
             },
             Raw {
              content: "connection",
              position: (10, 31),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\nSynchronizeTime = ",
          position: (10, 42),
         },
         Interpolation {
          expression: IfThenElse {
           predicate: PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (11, 28),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "device",
               position: (11, 32),
              },
              Raw {
               content: "synchronizeTime",
               position: (11, 39),
              },
             ],
            },
            default: None,
           },
           then: String {
            parts: [
             Raw {
              content: "yes",
              position: (11, 61),
             },
            ],
            position: (11, 60),
           },
           else_: String {
            parts: [
             Raw {
              content: "no",
              position: (11, 72),
             },
            ],
            position: (11, 71),
           },
           position: (11, 25),
          },
         },
         Raw {
          content: "\nLogFormat = ",
          position: (11, 76),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (12, 19),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "log",
              position: (12, 23),
             },
             Raw {
              content: "format",
              position: (12, 27),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (12, 34),
         },
         Interpolation {
          expression: IfThenElse {
           predicate: Parentheses {
            expression: BinaryOperation {
             operator: NotEqualTo,
             operands: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (13, 11),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "device",
                  position: (13, 15),
                 },
                 Raw {
                  content: "pin",
                  position: (13, 22),
                 },
                ],
               },
               default: None,
              },
              Variable {
               identifier: "null",
               position: (13, 29),
              },
             ],
             position: (13, 26),
            },
            position: (13, 10),
           },
           then: String {
            parts: [
             Raw {
              content: "PIN = ",
              position: (13, 41),
             },
             Interpolation {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (13, 49),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "device",
                  position: (13, 53),
                 },
                 Raw {
                  content: "pin",
                  position: (13, 60),
                 },
                ],
               },
               default: None,
              },
             },
            ],
            position: (13, 40),
           },
           else_: String {
            parts: [],
            position: (13, 71),
           },
           position: (13, 7),
          },
         },
         Raw {
          content: "\n",
          position: (13, 74),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (14, 7),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "extraConfig",
              position: (14, 11),
             },
             Raw {
              content: "gammu",
              position: (14, 23),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n\n\n[smsd]\nLogFile = ",
          position: (14, 29),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (18, 17),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "log",
              position: (18, 21),
             },
             Raw {
              content: "file",
              position: (18, 25),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\nService = ",
          position: (18, 30),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (19, 17),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "backend",
              position: (19, 21),
             },
             Raw {
              content: "service",
              position: (19, 29),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n\n",
          position: (19, 37),
         },
         Interpolation {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (21, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (21, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (21, 27),
                  },
                  Raw {
                   content: "service",
                   position: (21, 35),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "files",
                  position: (21, 47),
                 },
                ],
                position: (21, 46),
               },
              ],
              position: (21, 43),
             },
             position: (21, 22),
            },
            String {
             parts: [
              Raw {
               content: "InboxPath = ",
               position: (22, 1),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (22, 21),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (22, 25),
                  },
                  Raw {
                   content: "files",
                   position: (22, 33),
                  },
                  Raw {
                   content: "inboxPath",
                   position: (22, 39),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nOutboxPath = ",
               position: (22, 49),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (23, 22),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (23, 26),
                  },
                  Raw {
                   content: "files",
                   position: (23, 34),
                  },
                  Raw {
                   content: "outboxPath",
                   position: (23, 40),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nSentSMSPath = ",
               position: (23, 51),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (24, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (24, 27),
                  },
                  Raw {
                   content: "files",
                   position: (24, 35),
                  },
                  Raw {
                   content: "sentSMSPath",
                   position: (24, 41),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nErrorSMSPath = ",
               position: (24, 53),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (25, 24),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (25, 28),
                  },
                  Raw {
                   content: "files",
                   position: (25, 36),
                  },
                  Raw {
                   content: "errorSMSPath",
                   position: (25, 42),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\n",
               position: (25, 55),
              },
             ],
             position: (21, 55),
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (26, 8),
         },
         Interpolation {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (28, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: LogicalAnd,
              operands: [
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (28, 23),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "backend",
                     position: (28, 27),
                    },
                    Raw {
                     content: "service",
                     position: (28, 35),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sql",
                    position: (28, 47),
                   },
                  ],
                  position: (28, 46),
                 },
                ],
                position: (28, 43),
               },
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (28, 55),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "backend",
                     position: (28, 59),
                    },
                    Raw {
                     content: "sql",
                     position: (28, 67),
                    },
                    Raw {
                     content: "driver",
                     position: (28, 71),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sqlite",
                    position: (28, 82),
                   },
                  ],
                  position: (28, 81),
                 },
                ],
                position: (28, 78),
               },
              ],
              position: (28, 52),
             },
             position: (28, 22),
            },
            String {
             parts: [
              Raw {
               content: "Driver = ",
               position: (29, 1),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (29, 18),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (29, 22),
                  },
                  Raw {
                   content: "sql",
                   position: (29, 30),
                  },
                  Raw {
                   content: "driver",
                   position: (29, 34),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\nDBDir = ",
               position: (29, 41),
              },
              Interpolation {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (30, 17),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (30, 21),
                  },
                  Raw {
                   content: "sql",
                   position: (30, 29),
                  },
                  Raw {
                   content: "database",
                   position: (30, 33),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "\n",
               position: (30, 42),
              },
             ],
             position: (28, 91),
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (31, 8),
         },
         Interpolation {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (33, 7),
           },
           arguments: [
            Parentheses {
             expression: BinaryOperation {
              operator: LogicalAnd,
              operands: [
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (33, 23),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "backend",
                     position: (33, 27),
                    },
                    Raw {
                     content: "service",
                     position: (33, 35),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sql",
                    position: (33, 47),
                   },
                  ],
                  position: (33, 46),
                 },
                ],
                position: (33, 43),
               },
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (33, 55),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "backend",
                     position: (33, 59),
                    },
                    Raw {
                     content: "sql",
                     position: (33, 67),
                    },
                    Raw {
                     content: "driver",
                     position: (33, 71),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "native_pgsql",
                    position: (33, 82),
                   },
                  ],
                  position: (33, 81),
                 },
                ],
                position: (33, 78),
               },
              ],
              position: (33, 52),
             },
             position: (33, 22),
            },
            Parentheses {
             expression: With {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (34, 12),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "backend",
                  position: (34, 16),
                 },
                ],
               },
               default: None,
              },
              target: String {
               parts: [
                Raw {
                 content: "Driver = ",
                 position: (35, 1),
                },
                Interpolation {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "sql",
                   position: (35, 20),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "driver",
                     position: (35, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "\n",
                 position: (35, 31),
                },
                Interpolation {
                 expression: IfThenElse {
                  predicate: Parentheses {
                   expression: BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (36, 15),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "database",
                         position: (36, 19),
                        },
                       ],
                      },
                      default: None,
                     },
                     Variable {
                      identifier: "null",
                      position: (36, 30),
                     },
                    ],
                    position: (36, 27),
                   },
                   position: (36, 14),
                  },
                  then: String {
                   parts: [
                    Raw {
                     content: "Database = ",
                     position: (36, 42),
                    },
                    Interpolation {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (36, 55),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "database",
                         position: (36, 59),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                   ],
                   position: (36, 41),
                  },
                  else_: String {
                   parts: [],
                   position: (36, 75),
                  },
                  position: (36, 11),
                 },
                },
                Raw {
                 content: "\n",
                 position: (36, 78),
                },
                Interpolation {
                 expression: IfThenElse {
                  predicate: Parentheses {
                   expression: BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (37, 15),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "host",
                         position: (37, 19),
                        },
                       ],
                      },
                      default: None,
                     },
                     Variable {
                      identifier: "null",
                      position: (37, 27),
                     },
                    ],
                    position: (37, 24),
                   },
                   position: (37, 14),
                  },
                  then: String {
                   parts: [
                    Raw {
                     content: "Host = ",
                     position: (37, 39),
                    },
                    Interpolation {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (37, 48),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "host",
                         position: (37, 52),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                   ],
                   position: (37, 38),
                  },
                  else_: String {
                   parts: [],
                   position: (37, 64),
                  },
                  position: (37, 11),
                 },
                },
                Raw {
                 content: "\n",
                 position: (37, 67),
                },
                Interpolation {
                 expression: IfThenElse {
                  predicate: Parentheses {
                   expression: BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (38, 15),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "user",
                         position: (38, 19),
                        },
                       ],
                      },
                      default: None,
                     },
                     Variable {
                      identifier: "null",
                      position: (38, 27),
                     },
                    ],
                    position: (38, 24),
                   },
                   position: (38, 14),
                  },
                  then: String {
                   parts: [
                    Raw {
                     content: "User = ",
                     position: (38, 39),
                    },
                    Interpolation {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (38, 48),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "user",
                         position: (38, 52),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                   ],
                   position: (38, 38),
                  },
                  else_: String {
                   parts: [],
                   position: (38, 64),
                  },
                  position: (38, 11),
                 },
                },
                Raw {
                 content: "\n",
                 position: (38, 67),
                },
                Interpolation {
                 expression: IfThenElse {
                  predicate: Parentheses {
                   expression: BinaryOperation {
                    operator: NotEqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (39, 15),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "password",
                         position: (39, 19),
                        },
                       ],
                      },
                      default: None,
                     },
                     Variable {
                      identifier: "null",
                      position: (39, 31),
                     },
                    ],
                    position: (39, 28),
                   },
                   position: (39, 14),
                  },
                  then: String {
                   parts: [
                    Raw {
                     content: "Password = ",
                     position: (39, 43),
                    },
                    Interpolation {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (39, 56),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "password",
                         position: (39, 60),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                   ],
                   position: (39, 42),
                  },
                  else_: String {
                   parts: [],
                   position: (39, 76),
                  },
                  position: (39, 11),
                 },
                },
                Raw {
                 content: "\n",
                 position: (39, 79),
                },
               ],
               position: (34, 25),
              },
              position: (34, 7),
             },
             position: (33, 97),
            },
           ],
          },
         },
         Raw {
          content: "\n\n",
          position: (40, 11),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (42, 7),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "extraConfig",
              position: (42, 11),
             },
             Raw {
              content: "smsd",
              position: (42, 23),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
          position: (42, 28),
         },
        ],
        position: (7, 49),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "initDBDir",
        position: (45, 3),
       },
      ],
     },
     to: String {
      parts: [
       Raw {
        content: "share/doc/gammu/examples/sql",
        position: (45, 16),
       },
      ],
      position: (45, 15),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "gammuPackage",
        position: (47, 3),
       },
      ],
     },
     to: With {
      expression: PropertyAccess {
       expression: Variable {
        identifier: "cfg",
        position: (47, 23),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "backend",
          position: (47, 27),
         },
        ],
       },
       default: None,
      },
      target: Parentheses {
       expression: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (47, 37),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "gammu",
            position: (47, 42),
           },
           Raw {
            content: "override",
            position: (47, 48),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "dbiSupport",
               position: (48, 5),
              },
             ],
            },
            to: Parentheses {
             expression: BinaryOperation {
              operator: LogicalAnd,
              operands: [
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 Variable {
                  identifier: "service",
                  position: (48, 19),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sql",
                    position: (48, 31),
                   },
                  ],
                  position: (48, 30),
                 },
                ],
                position: (48, 27),
               },
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "sql",
                   position: (48, 39),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "driver",
                     position: (48, 43),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sqlite",
                    position: (48, 54),
                   },
                  ],
                  position: (48, 53),
                 },
                ],
                position: (48, 50),
               },
              ],
              position: (48, 36),
             },
             position: (48, 18),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "postgresSupport",
               position: (49, 5),
              },
             ],
            },
            to: Parentheses {
             expression: BinaryOperation {
              operator: LogicalAnd,
              operands: [
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 Variable {
                  identifier: "service",
                  position: (49, 24),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "sql",
                    position: (49, 36),
                   },
                  ],
                  position: (49, 35),
                 },
                ],
                position: (49, 32),
               },
               BinaryOperation {
                operator: EqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "sql",
                   position: (49, 44),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "driver",
                     position: (49, 48),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [
                   Raw {
                    content: "native_pgsql",
                    position: (49, 59),
                   },
                  ],
                  position: (49, 58),
                 },
                ],
                position: (49, 55),
               },
              ],
              position: (49, 41),
             },
             position: (49, 23),
            },
           },
          ],
          recursive: false,
          position: (47, 57),
         },
        ],
       },
       position: (47, 36),
      },
      position: (47, 18),
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (53, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (54, 5),
           },
           Raw {
            content: "gammu-smsd",
            position: (54, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (56, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (56, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "gammu-smsd daemon",
                 position: (56, 32),
                },
               ],
               position: (56, 31),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "user",
               position: (58, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (58, 14),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (59, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (59, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "str",
                     position: (59, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (60, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "smsd",
                    position: (60, 20),
                   },
                  ],
                  position: (60, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (61, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "User that has access to the device",
                    position: (61, 24),
                   },
                  ],
                  position: (61, 23),
                 },
                },
               ],
               recursive: false,
               position: (58, 23),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "device",
               position: (64, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "path",
                  position: (65, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (65, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (66, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (66, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "path",
                        position: (66, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (67, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Device node or address of the phone",
                       position: (67, 26),
                      },
                     ],
                     position: (67, 25),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "example",
                       position: (68, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "/dev/ttyUSB2",
                       position: (68, 22),
                      },
                     ],
                     position: (68, 21),
                    },
                   },
                  ],
                  recursive: false,
                  position: (65, 25),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "group",
                  position: (71, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (71, 17),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (72, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (72, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "str",
                        position: (72, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (73, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "root",
                       position: (73, 22),
                      },
                     ],
                     position: (73, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (74, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Owner group of the device",
                       position: (74, 26),
                      },
                     ],
                     position: (74, 25),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "example",
                       position: (75, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "dialout",
                       position: (75, 22),
                      },
                     ],
                     position: (75, 21),
                    },
                   },
                  ],
                  recursive: false,
                  position: (71, 26),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "connection",
                  position: (78, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (78, 22),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (79, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (79, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "str",
                        position: (79, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (80, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "at",
                       position: (80, 22),
                      },
                     ],
                     position: (80, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (81, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Protocol which will be used to talk to the phone",
                       position: (81, 26),
                      },
                     ],
                     position: (81, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (78, 31),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "synchronizeTime",
                  position: (84, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (84, 27),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (85, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (85, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "bool",
                        position: (85, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (86, 11),
                      },
                     ],
                    },
                    to: Variable {
                     identifier: "true",
                     position: (86, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (87, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Whether to set time from computer to the phone during starting connection",
                       position: (87, 26),
                      },
                     ],
                     position: (87, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (84, 36),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "pin",
                  position: (90, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (90, 15),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (91, 11),
                      },
                     ],
                    },
                    to: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (91, 18),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "nullOr",
                         position: (91, 24),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "types",
                        position: (91, 31),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "str",
                          position: (91, 37),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (92, 11),
                      },
                     ],
                    },
                    to: Variable {
                     identifier: "null",
                     position: (92, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (93, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "PIN code for the simcard",
                       position: (93, 26),
                      },
                     ],
                     position: (93, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (90, 24),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (64, 16),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "log",
               position: (98, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "file",
                  position: (99, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (99, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (100, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (100, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "str",
                        position: (100, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (101, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "syslog",
                       position: (101, 22),
                      },
                     ],
                     position: (101, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (102, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Path to file where information about communication will be stored",
                       position: (102, 26),
                      },
                     ],
                     position: (102, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (99, 25),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "format",
                  position: (105, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (105, 18),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (106, 11),
                      },
                     ],
                    },
                    to: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (106, 18),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "enum",
                         position: (106, 24),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "nothing",
                           position: (106, 32),
                          },
                         ],
                         position: (106, 31),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "text",
                           position: (106, 42),
                          },
                         ],
                         position: (106, 41),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "textall",
                           position: (106, 49),
                          },
                         ],
                         position: (106, 48),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "textalldate",
                           position: (106, 59),
                          },
                         ],
                         position: (106, 58),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "errors",
                           position: (106, 73),
                          },
                         ],
                         position: (106, 72),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "errorsdate",
                           position: (106, 82),
                          },
                         ],
                         position: (106, 81),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "binary",
                           position: (106, 95),
                          },
                         ],
                         position: (106, 94),
                        },
                       ],
                       position: (106, 29),
                      },
                     ],
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (107, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "errors",
                       position: (107, 22),
                      },
                     ],
                     position: (107, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (108, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Determines what will be logged to the LogFile",
                       position: (108, 26),
                      },
                     ],
                     position: (108, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (105, 27),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (98, 13),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "extraConfig",
               position: (113, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "gammu",
                  position: (114, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (114, 17),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (115, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (115, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "lines",
                        position: (115, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (116, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [],
                     position: (116, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (117, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Extra config lines to be added into [gammu] section",
                       position: (117, 26),
                      },
                     ],
                     position: (117, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (114, 26),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "smsd",
                  position: (121, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (121, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (122, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (122, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "lines",
                        position: (122, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (123, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [],
                     position: (123, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (124, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Extra config lines to be added into [smsd] section",
                       position: (124, 26),
                      },
                     ],
                     position: (124, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (121, 25),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (113, 21),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "backend",
               position: (129, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "service",
                  position: (130, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (130, 19),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (131, 11),
                      },
                     ],
                    },
                    to: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "types",
                       position: (131, 18),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "enum",
                         position: (131, 24),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "null",
                           position: (131, 32),
                          },
                         ],
                         position: (131, 31),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "files",
                           position: (131, 39),
                          },
                         ],
                         position: (131, 38),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "sql",
                           position: (131, 47),
                          },
                         ],
                         position: (131, 46),
                        },
                       ],
                       position: (131, 29),
                      },
                     ],
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (132, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "null",
                       position: (132, 22),
                      },
                     ],
                     position: (132, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (133, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Service to use to store sms data.",
                       position: (133, 26),
                      },
                     ],
                     position: (133, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (130, 28),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "files",
                  position: (136, 9),
                 },
                ],
               },
               to: Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "inboxPath",
                     position: (137, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (137, 23),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (138, 13),
                         },
                        ],
                       },
                       to: PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (138, 20),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "path",
                           position: (138, 26),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (139, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "/var/spool/sms/inbox/",
                          position: (139, 24),
                         },
                        ],
                        position: (139, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (140, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Where the received SMSes are stored",
                          position: (140, 28),
                         },
                        ],
                        position: (140, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (137, 32),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "outboxPath",
                     position: (143, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (143, 24),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (144, 13),
                         },
                        ],
                       },
                       to: PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (144, 20),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "path",
                           position: (144, 26),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (145, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "/var/spool/sms/outbox/",
                          position: (145, 24),
                         },
                        ],
                        position: (145, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (146, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Where SMSes to be sent should be placed",
                          position: (146, 28),
                         },
                        ],
                        position: (146, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (143, 33),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "sentSMSPath",
                     position: (149, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (149, 25),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (150, 13),
                         },
                        ],
                       },
                       to: PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (150, 20),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "path",
                           position: (150, 26),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (151, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "/var/spool/sms/sent/",
                          position: (151, 24),
                         },
                        ],
                        position: (151, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (152, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Where the transmitted SMSes are placed",
                          position: (152, 28),
                         },
                        ],
                        position: (152, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (149, 34),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "errorSMSPath",
                     position: (155, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (155, 26),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (156, 13),
                         },
                        ],
                       },
                       to: PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (156, 20),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "path",
                           position: (156, 26),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (157, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "/var/spool/sms/error/",
                          position: (157, 24),
                         },
                        ],
                        position: (157, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (158, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Where SMSes with error in transmission is placed",
                          position: (158, 28),
                         },
                        ],
                        position: (158, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (155, 35),
                    },
                   ],
                  },
                 },
                ],
                recursive: false,
                position: (136, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "sql",
                  position: (162, 9),
                 },
                ],
               },
               to: Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "driver",
                     position: (163, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (163, 20),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (164, 13),
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "types",
                          position: (164, 20),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "enum",
                            position: (164, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         List {
                          elements: [
                           String {
                            parts: [
                             Raw {
                              content: "native_mysql",
                              position: (164, 34),
                             },
                            ],
                            position: (164, 33),
                           },
                           String {
                            parts: [
                             Raw {
                              content: "native_pgsql",
                              position: (164, 49),
                             },
                            ],
                            position: (164, 48),
                           },
                           String {
                            parts: [
                             Raw {
                              content: "odbc",
                              position: (164, 64),
                             },
                            ],
                            position: (164, 63),
                           },
                           String {
                            parts: [
                             Raw {
                              content: "dbi",
                              position: (164, 71),
                             },
                            ],
                            position: (164, 70),
                           },
                          ],
                          position: (164, 31),
                         },
                        ],
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (165, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "DB driver to use",
                          position: (165, 28),
                         },
                        ],
                        position: (165, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (163, 29),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "sqlDialect",
                     position: (168, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (168, 24),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (169, 13),
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "types",
                          position: (169, 20),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "nullOr",
                            position: (169, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "types",
                           position: (169, 33),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "str",
                             position: (169, 39),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (170, 13),
                         },
                        ],
                       },
                       to: Variable {
                        identifier: "null",
                        position: (170, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (171, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "SQL dialect to use (odbc driver only)",
                          position: (171, 28),
                         },
                        ],
                        position: (171, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (168, 33),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "database",
                     position: (174, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (174, 22),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (175, 13),
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "types",
                          position: (175, 20),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "nullOr",
                            position: (175, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "types",
                           position: (175, 33),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "str",
                             position: (175, 39),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (176, 13),
                         },
                        ],
                       },
                       to: Variable {
                        identifier: "null",
                        position: (176, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (177, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Database name to store sms data",
                          position: (177, 28),
                         },
                        ],
                        position: (177, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (174, 31),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "host",
                     position: (180, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (180, 18),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (181, 13),
                         },
                        ],
                       },
                       to: PropertyAccess {
                        expression: Variable {
                         identifier: "types",
                         position: (181, 20),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "str",
                           position: (181, 26),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (182, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "localhost",
                          position: (182, 24),
                         },
                        ],
                        position: (182, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (183, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "Database server address",
                          position: (183, 28),
                         },
                        ],
                        position: (183, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (180, 27),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "user",
                     position: (186, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (186, 18),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (187, 13),
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "types",
                          position: (187, 20),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "nullOr",
                            position: (187, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "types",
                           position: (187, 33),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "str",
                             position: (187, 39),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (188, 13),
                         },
                        ],
                       },
                       to: Variable {
                        identifier: "null",
                        position: (188, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (189, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "User name used for connection to the database",
                          position: (189, 28),
                         },
                        ],
                        position: (189, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (186, 27),
                    },
                   ],
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "password",
                     position: (192, 11),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "mkOption",
                    position: (192, 22),
                   },
                   arguments: [
                    Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "type",
                          position: (193, 13),
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "types",
                          position: (193, 20),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "nullOr",
                            position: (193, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "types",
                           position: (193, 33),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "str",
                             position: (193, 39),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "default",
                          position: (194, 13),
                         },
                        ],
                       },
                       to: Variable {
                        identifier: "null",
                        position: (194, 23),
                       },
                      },
                      Binding {
                       from: AttributePath {
                        parts: [
                         Raw {
                          content: "description",
                          position: (195, 13),
                         },
                        ],
                       },
                       to: String {
                        parts: [
                         Raw {
                          content: "User password used for connetion to the database",
                          position: (195, 28),
                         },
                        ],
                        position: (195, 27),
                       },
                      },
                     ],
                     recursive: false,
                     position: (192, 31),
                    },
                   ],
                  },
                 },
                ],
                recursive: false,
                position: (162, 15),
               },
              },
             ],
             recursive: false,
             position: (129, 17),
            },
           },
          ],
          recursive: false,
          position: (54, 27),
         },
        },
       ],
       recursive: false,
       position: (53, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (202, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (202, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (202, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (202, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (203, 5),
             },
             Raw {
              content: "users",
              position: (203, 11),
             },
             Interpolation {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (203, 19),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "user",
                  position: (203, 23),
                 },
                ],
               },
               default: None,
              },
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (204, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "gammu-smsd user",
                 position: (204, 22),
                },
               ],
               position: (204, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "isSystemUser",
                 position: (205, 7),
                },
               ],
              },
              to: Variable {
               identifier: "true",
               position: (205, 22),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "group",
                 position: (206, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (206, 15),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "device",
                  position: (206, 19),
                 },
                 Raw {
                  content: "group",
                  position: (206, 26),
                 },
                ],
               },
               default: None,
              },
             },
            ],
            recursive: false,
            position: (203, 31),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (209, 5),
             },
             Raw {
              content: "systemPackages",
              position: (209, 17),
             },
            ],
           },
           to: With {
            expression: PropertyAccess {
             expression: Variable {
              identifier: "cfg",
              position: (209, 39),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "backend",
                position: (209, 43),
               },
              ],
             },
             default: None,
            },
            target: BinaryOperation {
             operator: Concatenation,
             operands: [
              List {
               elements: [
                Variable {
                 identifier: "gammuPackage",
                 position: (209, 54),
                },
               ],
               position: (209, 52),
              },
              FunctionApplication {
               function: Variable {
                identifier: "optionals",
                position: (210, 8),
               },
               arguments: [
                Parentheses {
                 expression: BinaryOperation {
                  operator: LogicalAnd,
                  operands: [
                   BinaryOperation {
                    operator: EqualTo,
                    operands: [
                     Variable {
                      identifier: "service",
                      position: (210, 19),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "sql",
                        position: (210, 31),
                       },
                      ],
                      position: (210, 30),
                     },
                    ],
                    position: (210, 27),
                   },
                   BinaryOperation {
                    operator: EqualTo,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "sql",
                       position: (210, 39),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "driver",
                         position: (210, 43),
                        },
                       ],
                      },
                      default: None,
                     },
                     String {
                      parts: [
                       Raw {
                        content: "sqlite",
                        position: (210, 54),
                       },
                      ],
                      position: (210, 53),
                     },
                    ],
                    position: (210, 50),
                   },
                  ],
                  position: (210, 36),
                 },
                 position: (210, 18),
                },
                List {
                 elements: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (210, 66),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "sqlite",
                      position: (210, 71),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                 position: (210, 64),
                },
               ],
              },
             ],
             position: (210, 5),
            },
            position: (209, 34),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (212, 5),
             },
             Raw {
              content: "services",
              position: (212, 13),
             },
             Raw {
              content: "gammu-smsd",
              position: (212, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (213, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "gammu-smsd daemon",
                 position: (213, 22),
                },
               ],
               position: (213, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (215, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (215, 21),
                  },
                 ],
                 position: (215, 20),
                },
               ],
               position: (215, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wants",
                 position: (217, 7),
                },
               ],
              },
              to: With {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (217, 20),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (217, 24),
                  },
                 ],
                },
                default: None,
               },
               target: BinaryOperation {
                operator: Concatenation,
                operands: [
                 List {
                  elements: [],
                  position: (217, 33),
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "optionals",
                   position: (218, 10),
                  },
                  arguments: [
                   Parentheses {
                    expression: BinaryOperation {
                     operator: LogicalAnd,
                     operands: [
                      BinaryOperation {
                       operator: EqualTo,
                       operands: [
                        Variable {
                         identifier: "service",
                         position: (218, 21),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "sql",
                           position: (218, 33),
                          },
                         ],
                         position: (218, 32),
                        },
                       ],
                       position: (218, 29),
                      },
                      BinaryOperation {
                       operator: EqualTo,
                       operands: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "sql",
                          position: (218, 41),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "driver",
                            position: (218, 45),
                           },
                          ],
                         },
                         default: None,
                        },
                        String {
                         parts: [
                          Raw {
                           content: "native_pgsql",
                           position: (218, 56),
                          },
                         ],
                         position: (218, 55),
                        },
                       ],
                       position: (218, 52),
                      },
                     ],
                     position: (218, 38),
                    },
                    position: (218, 20),
                   },
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "postgresql.service",
                        position: (218, 74),
                       },
                      ],
                      position: (218, 73),
                     },
                    ],
                    position: (218, 71),
                   },
                  ],
                 },
                ],
                position: (218, 7),
               },
               position: (217, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "preStart",
                 position: (220, 7),
                },
               ],
              },
              to: With {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (220, 23),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "backend",
                   position: (220, 27),
                  },
                 ],
                },
                default: None,
               },
               target: BinaryOperation {
                operator: Addition,
                operands: [
                 BinaryOperation {
                  operator: Addition,
                  operands: [
                   FunctionApplication {
                    function: Variable {
                     identifier: "optionalString",
                     position: (222, 9),
                    },
                    arguments: [
                     Parentheses {
                      expression: BinaryOperation {
                       operator: EqualTo,
                       operands: [
                        Variable {
                         identifier: "service",
                         position: (222, 25),
                        },
                        String {
                         parts: [
                          Raw {
                           content: "files",
                           position: (222, 37),
                          },
                         ],
                         position: (222, 36),
                        },
                       ],
                       position: (222, 33),
                      },
                      position: (222, 24),
                     },
                     Parentheses {
                      expression: With {
                       expression: Variable {
                        identifier: "files",
                        position: (222, 51),
                       },
                       target: String {
                        parts: [
                         Raw {
                          content: "mkdir -m 755 -p ",
                          position: (223, 1),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "inboxPath",
                           position: (223, 29),
                          },
                         },
                         Raw {
                          content: " ",
                          position: (223, 39),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "outboxPath",
                           position: (223, 42),
                          },
                         },
                         Raw {
                          content: " ",
                          position: (223, 53),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "sentSMSPath",
                           position: (223, 56),
                          },
                         },
                         Raw {
                          content: " ",
                          position: (223, 68),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "errorSMSPath",
                           position: (223, 71),
                          },
                         },
                         Raw {
                          content: "\nchown ",
                          position: (223, 84),
                         },
                         Interpolation {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (224, 19),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "user",
                              position: (224, 23),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: " -R ",
                          position: (224, 28),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "inboxPath",
                           position: (224, 34),
                          },
                         },
                         Raw {
                          content: "\nchown ",
                          position: (224, 44),
                         },
                         Interpolation {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (225, 19),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "user",
                              position: (225, 23),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: " -R ",
                          position: (225, 28),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "outboxPath",
                           position: (225, 34),
                          },
                         },
                         Raw {
                          content: "\nchown ",
                          position: (225, 45),
                         },
                         Interpolation {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (226, 19),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "user",
                              position: (226, 23),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: " -R ",
                          position: (226, 28),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "sentSMSPath",
                           position: (226, 34),
                          },
                         },
                         Raw {
                          content: "\nchown ",
                          position: (226, 46),
                         },
                         Interpolation {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (227, 19),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "user",
                              position: (227, 23),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: " -R ",
                          position: (227, 28),
                         },
                         Interpolation {
                          expression: Variable {
                           identifier: "errorSMSPath",
                           position: (227, 34),
                          },
                         },
                         Raw {
                          content: "\n",
                          position: (227, 47),
                         },
                        ],
                        position: (222, 58),
                       },
                       position: (222, 46),
                      },
                      position: (222, 45),
                     },
                    ],
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "optionalString",
                     position: (229, 9),
                    },
                    arguments: [
                     Parentheses {
                      expression: BinaryOperation {
                       operator: LogicalAnd,
                       operands: [
                        BinaryOperation {
                         operator: EqualTo,
                         operands: [
                          Variable {
                           identifier: "service",
                           position: (229, 25),
                          },
                          String {
                           parts: [
                            Raw {
                             content: "sql",
                             position: (229, 37),
                            },
                           ],
                           position: (229, 36),
                          },
                         ],
                         position: (229, 33),
                        },
                        BinaryOperation {
                         operator: EqualTo,
                         operands: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "sql",
                            position: (229, 45),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "driver",
                              position: (229, 49),
                             },
                            ],
                           },
                           default: None,
                          },
                          String {
                           parts: [
                            Raw {
                             content: "sqlite",
                             position: (229, 60),
                            },
                           ],
                           position: (229, 59),
                          },
                         ],
                         position: (229, 56),
                        },
                       ],
                       position: (229, 42),
                      },
                      position: (229, 24),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "cat \"",
                        position: (230, 1),
                       },
                       Interpolation {
                        expression: Variable {
                         identifier: "gammuPackage",
                         position: (230, 17),
                        },
                       },
                       Raw {
                        content: "/",
                        position: (230, 30),
                       },
                       Interpolation {
                        expression: Variable {
                         identifier: "initDBDir",
                         position: (230, 33),
                        },
                       },
                       Raw {
                        content: "/sqlite.sql\" \\\n| ",
                        position: (230, 43),
                       },
                       Interpolation {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "pkgs",
                          position: (231, 14),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "sqlite",
                            position: (231, 19),
                           },
                           Raw {
                            content: "bin",
                            position: (231, 26),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/sqlite3 ",
                        position: (231, 30),
                       },
                       Interpolation {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "sql",
                          position: (231, 45),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "database",
                            position: (231, 49),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "\n",
                        position: (231, 58),
                       },
                      ],
                      position: (229, 69),
                     },
                    ],
                   },
                  ],
                  position: (229, 7),
                 },
                 Parentheses {
                  expression: LetIn {
                   bindings: [
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "execPsql",
                        position: (233, 14),
                       },
                      ],
                     },
                     to: Function {
                      argument: Simple {
                       identifier: "extraArgs",
                      },
                      definition: FunctionApplication {
                       function: Variable {
                        identifier: "concatStringsSep",
                        position: (233, 36),
                       },
                       arguments: [
                        String {
                         parts: [
                          Raw {
                           content: " ",
                           position: (233, 54),
                          },
                         ],
                         position: (233, 53),
                        },
                        List {
                         elements: [
                          Parentheses {
                           expression: FunctionApplication {
                            function: Variable {
                             identifier: "optionalString",
                             position: (234, 12),
                            },
                            arguments: [
                             Parentheses {
                              expression: BinaryOperation {
                               operator: NotEqualTo,
                               operands: [
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (234, 28),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "password",
                                    position: (234, 32),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                                Variable {
                                 identifier: "null",
                                 position: (234, 44),
                                },
                               ],
                               position: (234, 41),
                              },
                              position: (234, 27),
                             },
                             String {
                              parts: [
                               Raw {
                                content: "PGPASSWORD=",
                                position: (234, 51),
                               },
                               Interpolation {
                                expression: PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (234, 64),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "password",
                                    position: (234, 68),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               },
                              ],
                              position: (234, 50),
                             },
                            ],
                           },
                           position: (234, 11),
                          },
                          String {
                           parts: [
                            Interpolation {
                             expression: PropertyAccess {
                              expression: Variable {
                               identifier: "config",
                               position: (235, 14),
                              },
                              attribute_path: AttributePath {
                               parts: [
                                Raw {
                                 content: "services",
                                 position: (235, 21),
                                },
                                Raw {
                                 content: "postgresql",
                                 position: (235, 30),
                                },
                                Raw {
                                 content: "package",
                                 position: (235, 41),
                                },
                               ],
                              },
                              default: None,
                             },
                            },
                            Raw {
                             content: "/bin/psql",
                             position: (235, 49),
                            },
                           ],
                           position: (235, 11),
                          },
                          Parentheses {
                           expression: FunctionApplication {
                            function: Variable {
                             identifier: "optionalString",
                             position: (236, 12),
                            },
                            arguments: [
                             Parentheses {
                              expression: BinaryOperation {
                               operator: NotEqualTo,
                               operands: [
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (236, 28),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "host",
                                    position: (236, 32),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                                Variable {
                                 identifier: "null",
                                 position: (236, 40),
                                },
                               ],
                               position: (236, 37),
                              },
                              position: (236, 27),
                             },
                             String {
                              parts: [
                               Raw {
                                content: "-h ",
                                position: (236, 47),
                               },
                               Interpolation {
                                expression: PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (236, 52),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "host",
                                    position: (236, 56),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               },
                              ],
                              position: (236, 46),
                             },
                            ],
                           },
                           position: (236, 11),
                          },
                          Parentheses {
                           expression: FunctionApplication {
                            function: Variable {
                             identifier: "optionalString",
                             position: (237, 12),
                            },
                            arguments: [
                             Parentheses {
                              expression: BinaryOperation {
                               operator: NotEqualTo,
                               operands: [
                                PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (237, 28),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "user",
                                    position: (237, 32),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                                Variable {
                                 identifier: "null",
                                 position: (237, 40),
                                },
                               ],
                               position: (237, 37),
                              },
                              position: (237, 27),
                             },
                             String {
                              parts: [
                               Raw {
                                content: "-U ",
                                position: (237, 47),
                               },
                               Interpolation {
                                expression: PropertyAccess {
                                 expression: Variable {
                                  identifier: "sql",
                                  position: (237, 52),
                                 },
                                 attribute_path: AttributePath {
                                  parts: [
                                   Raw {
                                    content: "user",
                                    position: (237, 56),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               },
                              ],
                              position: (237, 46),
                             },
                            ],
                           },
                           position: (237, 11),
                          },
                          String {
                           parts: [
                            Raw {
                             content: "$extraArgs",
                             position: (238, 12),
                            },
                           ],
                           position: (238, 11),
                          },
                          String {
                           parts: [
                            Interpolation {
                             expression: PropertyAccess {
                              expression: Variable {
                               identifier: "sql",
                               position: (239, 14),
                              },
                              attribute_path: AttributePath {
                               parts: [
                                Raw {
                                 content: "database",
                                 position: (239, 18),
                                },
                               ],
                              },
                              default: None,
                             },
                            },
                           ],
                           position: (239, 11),
                          },
                         ],
                         position: (233, 57),
                        },
                       ],
                      },
                      position: (233, 25),
                     },
                    },
                   ],
                   target: FunctionApplication {
                    function: Variable {
                     identifier: "optionalString",
                     position: (240, 15),
                    },
                    arguments: [
                     Parentheses {
                      expression: BinaryOperation {
                       operator: LogicalAnd,
                       operands: [
                        BinaryOperation {
                         operator: EqualTo,
                         operands: [
                          Variable {
                           identifier: "service",
                           position: (240, 31),
                          },
                          String {
                           parts: [
                            Raw {
                             content: "sql",
                             position: (240, 43),
                            },
                           ],
                           position: (240, 42),
                          },
                         ],
                         position: (240, 39),
                        },
                        BinaryOperation {
                         operator: EqualTo,
                         operands: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "sql",
                            position: (240, 51),
                           },
                           attribute_path: AttributePath {
                            parts: [
                             Raw {
                              content: "driver",
                              position: (240, 55),
                             },
                            ],
                           },
                           default: None,
                          },
                          String {
                           parts: [
                            Raw {
                             content: "native_pgsql",
                             position: (240, 66),
                            },
                           ],
                           position: (240, 65),
                          },
                         ],
                         position: (240, 62),
                        },
                       ],
                       position: (240, 48),
                      },
                      position: (240, 30),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "echo '\\i '\"",
                        position: (241, 1),
                       },
                       Interpolation {
                        expression: Variable {
                         identifier: "gammuPackage",
                         position: (241, 23),
                        },
                       },
                       Raw {
                        content: "/",
                        position: (241, 36),
                       },
                       Interpolation {
                        expression: Variable {
                         identifier: "initDBDir",
                         position: (241, 39),
                        },
                       },
                       Raw {
                        content: "/pgsql.sql\" | ",
                        position: (241, 49),
                       },
                       Interpolation {
                        expression: FunctionApplication {
                         function: Variable {
                          identifier: "execPsql",
                          position: (241, 65),
                         },
                         arguments: [
                          String {
                           parts: [],
                           position: (241, 74),
                          },
                         ],
                        },
                       },
                       Raw {
                        content: "\n",
                        position: (241, 77),
                       },
                      ],
                      position: (240, 81),
                     },
                    ],
                   },
                   position: (233, 10),
                  },
                  position: (233, 9),
                 },
                ],
                position: (233, 7),
               },
               position: (220, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (244, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "User",
                    position: (245, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (245, 19),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "user",
                        position: (245, 23),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                  position: (245, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "Group",
                    position: (246, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (246, 20),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "device",
                        position: (246, 24),
                       },
                       Raw {
                        content: "group",
                        position: (246, 31),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                  ],
                  position: (246, 17),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "PermissionsStartOnly",
                    position: (247, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (247, 32),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (248, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: Variable {
                     identifier: "gammuPackage",
                     position: (248, 24),
                    },
                   },
                   Raw {
                    content: "/bin/gammu-smsd -c ",
                    position: (248, 37),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "configFile",
                     position: (248, 58),
                    },
                   },
                  ],
                  position: (248, 21),
                 },
                },
               ],
               recursive: false,
               position: (244, 23),
              },
             },
            ],
            recursive: false,
            position: (212, 35),
           },
          },
         ],
         recursive: false,
         position: (202, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (52, 4),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}