---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (4, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (8, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (8, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (8, 16),
        },
        Raw {
         content: "disnix",
         position: (8, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (16, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (18, 5),
           },
           Raw {
            content: "disnix",
            position: (18, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (20, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (20, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Disnix",
                 position: (20, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enableMultiUser",
               position: (22, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (22, 25),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (23, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (23, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "bool",
                     position: (23, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (24, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (24, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (25, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Whether to support multi-user mode by enabling the Disnix D-Bus service",
                    position: (25, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (22, 34),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "useWebServiceInterface",
               position: (28, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (28, 32),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "the DisnixWebService interface running on Apache Tomcat",
                 position: (28, 48),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "package",
               position: (30, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (30, 17),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (31, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (31, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "path",
                     position: (31, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (32, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "The Disnix package",
                    position: (32, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (33, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (33, 19),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "disnix",
                     position: (33, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "defaultText",
                    position: (34, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (34, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.disnix",
                      position: (34, 42),
                     },
                    ],
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (30, 26),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enableProfilePath",
               position: (37, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (37, 27),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "exposing the Disnix profiles in the system's PATH",
                 position: (37, 43),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "profiles",
               position: (39, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (39, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (40, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (40, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (40, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (40, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (40, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (41, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "default",
                      position: (41, 22),
                     },
                    ],
                   },
                  ],
                  position: (41, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (42, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Names of the Disnix profiles to expose in the system's PATH",
                    position: (42, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (39, 27),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (18, 23),
         },
        ),
       ],
       recursive: false,
       position: (16, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (50, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (50, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (50, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (50, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "dysnomia",
              position: (51, 5),
             },
             Raw {
              content: "enable",
              position: (51, 14),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (51, 23),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (53, 5),
             },
             Raw {
              content: "systemPackages",
              position: (53, 17),
             },
            ],
           },
           BinaryOperation {
            operator: Concatenation,
            operands: [
             List {
              elements: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (53, 36),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "disnix",
                   position: (53, 41),
                  },
                 ],
                },
                default: None,
               },
              ],
              position: (53, 34),
             },
             FunctionApplication {
              function: Variable {
               identifier: "optional",
               position: (53, 53),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (53, 62),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "useWebServiceInterface",
                   position: (53, 66),
                  },
                 ],
                },
                default: None,
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (53, 89),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "DisnixWebService",
                   position: (53, 94),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ],
            position: (53, 50),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (54, 5),
             },
             Raw {
              content: "variables",
              position: (54, 17),
             },
             Raw {
              content: "PATH",
              position: (54, 27),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (54, 34),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "optionals",
                position: (54, 38),
               },
              ],
             },
             default: None,
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (54, 48),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "enableProfilePath",
                 position: (54, 52),
                },
               ],
              },
              default: None,
             },
             FunctionApplication {
              function: Variable {
               identifier: "map",
               position: (54, 71),
              },
              arguments: [
               Function {
                argument: Some(
                 "profileName",
                ),
                arguments: FunctionArguments {
                 arguments: [],
                 ellipsis: false,
                },
                definition: String {
                 parts: [
                  Raw {
                   content: "/nix/var/nix/profiles/disnix/",
                   position: (54, 90),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "profileName",
                    position: (54, 121),
                   },
                  },
                  Raw {
                   content: "/bin",
                   position: (54, 133),
                  },
                 ],
                },
                position: (54, 76),
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (54, 141),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "profiles",
                   position: (54, 145),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (55, 5),
             },
             Raw {
              content: "variables",
              position: (55, 17),
             },
             Raw {
              content: "DISNIX_REMOTE_CLIENT",
              position: (55, 27),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (55, 50),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "optionalString",
                position: (55, 54),
               },
              ],
             },
             default: None,
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (55, 70),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "enableMultiUser",
                 position: (55, 74),
                },
               ],
              },
              default: None,
             },
             String {
              parts: [
               Raw {
                content: "disnix-client",
                position: (55, 92),
               },
              ],
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (57, 5),
             },
             Raw {
              content: "dbus",
              position: (57, 14),
             },
             Raw {
              content: "enable",
              position: (57, 19),
             },
            ],
           },
           Variable {
            identifier: "true",
            position: (57, 28),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (58, 5),
             },
             Raw {
              content: "dbus",
              position: (58, 14),
             },
             Raw {
              content: "packages",
              position: (58, 19),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (58, 32),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "disnix",
                 position: (58, 37),
                },
               ],
              },
              default: None,
             },
            ],
            position: (58, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (60, 5),
             },
             Raw {
              content: "tomcat",
              position: (60, 14),
             },
             Raw {
              content: "enable",
              position: (60, 21),
             },
            ],
           },
           PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (60, 30),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "useWebServiceInterface",
               position: (60, 34),
              },
             ],
            },
            default: None,
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (61, 5),
             },
             Raw {
              content: "tomcat",
              position: (61, 14),
             },
             Raw {
              content: "extraGroups",
              position: (61, 21),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "disnix",
                position: (61, 38),
               },
              ],
             },
            ],
            position: (61, 35),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (62, 5),
             },
             Raw {
              content: "tomcat",
              position: (62, 14),
             },
             Raw {
              content: "javaOpts",
              position: (62, 21),
             },
            ],
           },
           String {
            parts: [
             Expression {
              expression: FunctionApplication {
               function: Variable {
                identifier: "optionalString",
                position: (62, 35),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (62, 50),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "useWebServiceInterface",
                    position: (62, 54),
                   },
                  ],
                 },
                 default: None,
                },
                String {
                 parts: [
                  Raw {
                   content: "-Djava.library.path=",
                   position: (62, 78),
                  },
                  Expression {
                   expression: PropertyAccess {
                    expression: Variable {
                     identifier: "pkgs",
                     position: (62, 100),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "libmatthew_java",
                       position: (62, 105),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                  Raw {
                   content: "/lib/jni",
                   position: (62, 121),
                  },
                 ],
                },
               ],
              },
             },
             Raw {
              content: " ",
              position: (62, 131),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (63, 5),
             },
             Raw {
              content: "tomcat",
              position: (63, 14),
             },
             Raw {
              content: "sharedLibs",
              position: (63, 21),
             },
            ],
           },
           BinaryOperation {
            operator: Concatenation,
            operands: [
             FunctionApplication {
              function: Variable {
               identifier: "optional",
               position: (63, 34),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (63, 43),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "useWebServiceInterface",
                   position: (63, 47),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (63, 73),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "DisnixWebService",
                      position: (63, 78),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "/share/java/DisnixConnection.jar",
                  position: (63, 95),
                 },
                ],
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "optional",
               position: (64, 10),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (64, 19),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "useWebServiceInterface",
                   position: (64, 23),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (64, 49),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "dbus_java",
                      position: (64, 54),
                     },
                    ],
                   },
                   default: None,
                  },
                 },
                 Raw {
                  content: "/share/java/dbus.jar",
                  position: (64, 64),
                 },
                ],
               },
              ],
             },
            ],
            position: (64, 7),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (65, 5),
             },
             Raw {
              content: "tomcat",
              position: (65, 14),
             },
             Raw {
              content: "webapps",
              position: (65, 21),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "optional",
             position: (65, 31),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (65, 40),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "useWebServiceInterface",
                 position: (65, 44),
                },
               ],
              },
              default: None,
             },
             PropertyAccess {
              expression: Variable {
               identifier: "pkgs",
               position: (65, 67),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "DisnixWebService",
                 position: (65, 72),
                },
               ],
              },
              default: None,
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (67, 5),
             },
             Raw {
              content: "groups",
              position: (67, 11),
             },
             Raw {
              content: "disnix",
              position: (67, 18),
             },
             Raw {
              content: "gid",
              position: (67, 25),
             },
            ],
           },
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (67, 31),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "ids",
               position: (67, 38),
              },
              Raw {
               content: "gids",
               position: (67, 42),
              },
              Raw {
               content: "disnix",
               position: (67, 47),
              },
             ],
            },
            default: None,
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (69, 5),
             },
             Raw {
              content: "services",
              position: (69, 13),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "disnix",
                 position: (70, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkIf",
                position: (70, 16),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (70, 21),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "enableMultiUser",
                    position: (70, 25),
                   },
                  ],
                 },
                 default: None,
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "description",
                      position: (71, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "Disnix server",
                      position: (71, 24),
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "wants",
                      position: (72, 9),
                     },
                    ],
                   },
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "dysnomia.target",
                        position: (72, 20),
                       },
                      ],
                     },
                    ],
                    position: (72, 17),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "wantedBy",
                      position: (73, 9),
                     },
                    ],
                   },
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "multi-user.target",
                        position: (73, 23),
                       },
                      ],
                     },
                    ],
                    position: (73, 20),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "after",
                      position: (74, 9),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     List {
                      elements: [
                       String {
                        parts: [
                         Raw {
                          content: "dbus.service",
                          position: (74, 20),
                         },
                        ],
                       },
                      ],
                      position: (74, 17),
                     },
                     BinaryOperation {
                      operator: Concatenation,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "optional",
                         position: (75, 14),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "config",
                           position: (75, 23),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "services",
                             position: (75, 30),
                            },
                            Raw {
                             content: "httpd",
                             position: (75, 39),
                            },
                            Raw {
                             content: "enable",
                             position: (75, 45),
                            },
                           ],
                          },
                          default: None,
                         },
                         String {
                          parts: [
                           Raw {
                            content: "httpd.service",
                            position: (75, 53),
                           },
                          ],
                         },
                        ],
                       },
                       BinaryOperation {
                        operator: Concatenation,
                        operands: [
                         FunctionApplication {
                          function: Variable {
                           identifier: "optional",
                           position: (76, 14),
                          },
                          arguments: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "config",
                             position: (76, 23),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "services",
                               position: (76, 30),
                              },
                              Raw {
                               content: "mysql",
                               position: (76, 39),
                              },
                              Raw {
                               content: "enable",
                               position: (76, 45),
                              },
                             ],
                            },
                            default: None,
                           },
                           String {
                            parts: [
                             Raw {
                              content: "mysql.service",
                              position: (76, 53),
                             },
                            ],
                           },
                          ],
                         },
                         BinaryOperation {
                          operator: Concatenation,
                          operands: [
                           FunctionApplication {
                            function: Variable {
                             identifier: "optional",
                             position: (77, 14),
                            },
                            arguments: [
                             PropertyAccess {
                              expression: Variable {
                               identifier: "config",
                               position: (77, 23),
                              },
                              attribute_path: AttributePath {
                               attributes: [
                                Raw {
                                 content: "services",
                                 position: (77, 30),
                                },
                                Raw {
                                 content: "postgresql",
                                 position: (77, 39),
                                },
                                Raw {
                                 content: "enable",
                                 position: (77, 50),
                                },
                               ],
                              },
                              default: None,
                             },
                             String {
                              parts: [
                               Raw {
                                content: "postgresql.service",
                                position: (77, 58),
                               },
                              ],
                             },
                            ],
                           },
                           BinaryOperation {
                            operator: Concatenation,
                            operands: [
                             FunctionApplication {
                              function: Variable {
                               identifier: "optional",
                               position: (78, 14),
                              },
                              arguments: [
                               PropertyAccess {
                                expression: Variable {
                                 identifier: "config",
                                 position: (78, 23),
                                },
                                attribute_path: AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "services",
                                   position: (78, 30),
                                  },
                                  Raw {
                                   content: "tomcat",
                                   position: (78, 39),
                                  },
                                  Raw {
                                   content: "enable",
                                   position: (78, 46),
                                  },
                                 ],
                                },
                                default: None,
                               },
                               String {
                                parts: [
                                 Raw {
                                  content: "tomcat.service",
                                  position: (78, 54),
                                 },
                                ],
                               },
                              ],
                             },
                             BinaryOperation {
                              operator: Concatenation,
                              operands: [
                               FunctionApplication {
                                function: Variable {
                                 identifier: "optional",
                                 position: (79, 14),
                                },
                                arguments: [
                                 PropertyAccess {
                                  expression: Variable {
                                   identifier: "config",
                                   position: (79, 23),
                                  },
                                  attribute_path: AttributePath {
                                   attributes: [
                                    Raw {
                                     content: "services",
                                     position: (79, 30),
                                    },
                                    Raw {
                                     content: "svnserve",
                                     position: (79, 39),
                                    },
                                    Raw {
                                     content: "enable",
                                     position: (79, 48),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: "svnserve.service",
                                    position: (79, 56),
                                   },
                                  ],
                                 },
                                ],
                               },
                               BinaryOperation {
                                operator: Concatenation,
                                operands: [
                                 FunctionApplication {
                                  function: Variable {
                                   identifier: "optional",
                                   position: (80, 14),
                                  },
                                  arguments: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "config",
                                     position: (80, 23),
                                    },
                                    attribute_path: AttributePath {
                                     attributes: [
                                      Raw {
                                       content: "services",
                                       position: (80, 30),
                                      },
                                      Raw {
                                       content: "mongodb",
                                       position: (80, 39),
                                      },
                                      Raw {
                                       content: "enable",
                                       position: (80, 47),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: "mongodb.service",
                                      position: (80, 55),
                                     },
                                    ],
                                   },
                                  ],
                                 },
                                 FunctionApplication {
                                  function: Variable {
                                   identifier: "optional",
                                   position: (81, 14),
                                  },
                                  arguments: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "config",
                                     position: (81, 23),
                                    },
                                    attribute_path: AttributePath {
                                     attributes: [
                                      Raw {
                                       content: "services",
                                       position: (81, 30),
                                      },
                                      Raw {
                                       content: "influxdb",
                                       position: (81, 39),
                                      },
                                      Raw {
                                       content: "enable",
                                       position: (81, 48),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: "influxdb.service",
                                      position: (81, 56),
                                     },
                                    ],
                                   },
                                  ],
                                 },
                                ],
                                position: (81, 11),
                               },
                              ],
                              position: (80, 11),
                             },
                            ],
                            position: (79, 11),
                           },
                          ],
                          position: (78, 11),
                         },
                        ],
                        position: (77, 11),
                       },
                      ],
                      position: (76, 11),
                     },
                    ],
                    position: (75, 11),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "restartIfChanged",
                      position: (83, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "false",
                    position: (83, 28),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "path",
                      position: (85, 9),
                     },
                    ],
                   },
                   List {
                    elements: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "config",
                       position: (85, 18),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "nix",
                         position: (85, 25),
                        },
                        Raw {
                         content: "package",
                         position: (85, 29),
                        },
                       ],
                      },
                      default: None,
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (85, 37),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (85, 41),
                        },
                       ],
                      },
                      default: None,
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "config",
                       position: (85, 49),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "dysnomia",
                         position: (85, 56),
                        },
                        Raw {
                         content: "package",
                         position: (85, 65),
                        },
                       ],
                      },
                      default: None,
                     },
                     String {
                      parts: [
                       Raw {
                        content: "/run/current-system/sw",
                        position: (85, 74),
                       },
                      ],
                     },
                    ],
                    position: (85, 16),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "environment",
                      position: (87, 9),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: Update,
                    operands: [
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "HOME",
                           position: (88, 11),
                          },
                         ],
                        },
                        String {
                         parts: [
                          Raw {
                           content: "/root",
                           position: (88, 19),
                          },
                         ],
                        },
                       ),
                      ],
                      recursive: false,
                      position: (87, 23),
                     },
                     BinaryOperation {
                      operator: Update,
                      operands: [
                       IfThenElse {
                        predicate: HasProperty {
                         expression: PropertyAccess {
                          expression: Variable {
                           identifier: "config",
                           position: (90, 16),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "environment",
                             position: (90, 23),
                            },
                            Raw {
                             content: "variables",
                             position: (90, 35),
                            },
                           ],
                          },
                          default: None,
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "DYSNOMIA_CONTAINERS_PATH",
                            position: (90, 47),
                           },
                          ],
                         },
                         position: (90, 45),
                        },
                        then: Map {
                         bindings: [
                          Inherit(
                           Some(
                            PropertyAccess {
                             expression: Variable {
                              identifier: "config",
                              position: (90, 88),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "environment",
                                position: (90, 95),
                               },
                               Raw {
                                content: "variables",
                                position: (90, 107),
                               },
                              ],
                             },
                             default: None,
                            },
                           ),
                           [
                            Raw {
                             content: "DYSNOMIA_CONTAINERS_PATH",
                             position: (90, 118),
                            },
                           ],
                          ),
                         ],
                         recursive: false,
                         position: (90, 77),
                        },
                        else_: Map {
                         bindings: [],
                         recursive: false,
                         position: (90, 151),
                        },
                        position: (90, 13),
                       },
                       IfThenElse {
                        predicate: HasProperty {
                         expression: PropertyAccess {
                          expression: Variable {
                           identifier: "config",
                           position: (91, 16),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "environment",
                             position: (91, 23),
                            },
                            Raw {
                             content: "variables",
                             position: (91, 35),
                            },
                           ],
                          },
                          default: None,
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "DYSNOMIA_MODULES_PATH",
                            position: (91, 47),
                           },
                          ],
                         },
                         position: (91, 45),
                        },
                        then: Map {
                         bindings: [
                          Inherit(
                           Some(
                            PropertyAccess {
                             expression: Variable {
                              identifier: "config",
                              position: (91, 85),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "environment",
                                position: (91, 92),
                               },
                               Raw {
                                content: "variables",
                                position: (91, 104),
                               },
                              ],
                             },
                             default: None,
                            },
                           ),
                           [
                            Raw {
                             content: "DYSNOMIA_MODULES_PATH",
                             position: (91, 115),
                            },
                           ],
                          ),
                         ],
                         recursive: false,
                         position: (91, 74),
                        },
                        else_: Map {
                         bindings: [],
                         recursive: false,
                         position: (91, 145),
                        },
                        position: (91, 13),
                       },
                      ],
                      position: (91, 9),
                     },
                    ],
                    position: (90, 9),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "serviceConfig",
                      position: (93, 9),
                     },
                     Raw {
                      content: "ExecStart",
                      position: (93, 23),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (93, 38),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (93, 42),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/disnix-service",
                      position: (93, 50),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (70, 41),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (69, 24),
           },
          ),
         ],
         recursive: false,
         position: (50, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (12, 1),
   },
   position: (6, 1),
  },
  position: (4, 1),
 },
 position: (2, 1),
}