---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "nzbget",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "pkg",
        position: (7, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "pkgs",
       position: (7, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "nzbget",
         position: (7, 14),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "stateDir",
        position: (8, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "/var/lib/nzbget",
        position: (8, 15),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "configFile",
        position: (9, 3),
       },
      ],
     },
     String {
      parts: [
       Expression {
        expression: Variable {
         identifier: "stateDir",
         position: (9, 19),
        },
       },
       Raw {
        content: "/nzbget.conf",
        position: (9, 28),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "configOpts",
        position: (10, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "concatStringsSep",
       position: (10, 16),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: " ",
          position: (10, 34),
         },
        ],
       },
       FunctionApplication {
        function: Variable {
         identifier: "mapAttrsToList",
         position: (10, 38),
        },
        arguments: [
         Function {
          argument: Some(
           "name",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: Function {
           argument: Some(
            "value",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: String {
            parts: [
             Raw {
              content: "-o ",
              position: (10, 68),
             },
             Expression {
              expression: Variable {
               identifier: "name",
               position: (10, 73),
              },
             },
             Raw {
              content: "=",
              position: (10, 78),
             },
             Expression {
              expression: FunctionApplication {
               function: Variable {
                identifier: "escapeShellArg",
                position: (10, 81),
               },
               arguments: [
                FunctionApplication {
                 function: Variable {
                  identifier: "toStr",
                  position: (10, 97),
                 },
                 arguments: [
                  Variable {
                   identifier: "value",
                   position: (10, 103),
                  },
                 ],
                },
               ],
              },
             },
            ],
           },
           position: (10, 60),
          },
          position: (10, 54),
         },
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (10, 113),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "settings",
             position: (10, 117),
            },
           ],
          },
          default: None,
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "toStr",
        position: (11, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "v",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: IfThenElse {
       predicate: BinaryOperation {
        operator: EqualTo,
        operands: [
         Variable {
          identifier: "v",
          position: (12, 8),
         },
         Variable {
          identifier: "true",
          position: (12, 13),
         },
        ],
        position: (12, 10),
       },
       then: String {
        parts: [
         Raw {
          content: "yes",
          position: (12, 24),
         },
        ],
       },
       else_: IfThenElse {
        predicate: BinaryOperation {
         operator: EqualTo,
         operands: [
          Variable {
           identifier: "v",
           position: (13, 13),
          },
          Variable {
           identifier: "false",
           position: (13, 18),
          },
         ],
         position: (13, 15),
        },
        then: String {
         parts: [
          Raw {
           content: "no",
           position: (13, 30),
          },
         ],
        },
        else_: IfThenElse {
         predicate: FunctionApplication {
          function: Variable {
           identifier: "isInt",
           position: (14, 13),
          },
          arguments: [
           Variable {
            identifier: "v",
            position: (14, 19),
           },
          ],
         },
         then: FunctionApplication {
          function: Variable {
           identifier: "toString",
           position: (14, 26),
          },
          arguments: [
           Variable {
            identifier: "v",
            position: (14, 35),
           },
          ],
         },
         else_: Variable {
          identifier: "v",
          position: (15, 10),
         },
         position: (14, 10),
        },
        position: (13, 10),
       },
       position: (12, 5),
      },
      position: (11, 11),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "imports",
         position: (18, 3),
        },
       ],
      },
      List {
       elements: [
        FunctionApplication {
         function: Variable {
          identifier: "mkRemovedOptionModule",
          position: (19, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
               position: (19, 31),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "misc",
               position: (19, 42),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "nzbget",
               position: (19, 49),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "configFile",
               position: (19, 58),
              },
             ],
            },
           ],
           position: (19, 28),
          },
          String {
           parts: [
            Raw {
             content: "The configuration of nzbget is now managed by users through the web interface.",
             position: (19, 73),
            },
           ],
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRemovedOptionModule",
          position: (20, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
               position: (20, 31),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "misc",
               position: (20, 42),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "nzbget",
               position: (20, 49),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "dataDir",
               position: (20, 58),
              },
             ],
            },
           ],
           position: (20, 28),
          },
          String {
           parts: [
            Raw {
             content: "The data directory for nzbget is now /var/lib/nzbget.",
             position: (20, 70),
            },
           ],
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRemovedOptionModule",
          position: (21, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
               position: (21, 31),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "misc",
               position: (21, 42),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "nzbget",
               position: (21, 49),
              },
             ],
            },
            String {
             parts: [
              Raw {
               content: "openFirewall",
               position: (21, 58),
              },
             ],
            },
           ],
           position: (21, 28),
          },
          String {
           parts: [
            Raw {
             content: "The port used by nzbget is managed through the web interface so you should adjust your firewall rules accordingly.",
             position: (21, 75),
            },
           ],
          },
         ],
        },
       ],
       position: (18, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (26, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (27, 5),
           },
           Raw {
            content: "nzbget",
            position: (27, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (28, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (28, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "NZBGet",
                 position: (28, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "user",
               position: (30, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (30, 14),
             },
             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: "str",
                     position: (31, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (32, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "nzbget",
                    position: (32, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (33, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "User account under which NZBGet runs",
                    position: (33, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (30, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "group",
               position: (36, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (36, 15),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (37, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (37, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "str",
                     position: (37, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (38, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "nzbget",
                    position: (38, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (39, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Group under which NZBGet runs",
                    position: (39, 24),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (36, 24),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "settings",
               position: (42, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (42, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (43, 9),
                   },
                  ],
                 },
                 With {
                  expression: Variable {
                   identifier: "types",
                   position: (43, 21),
                  },
                  target: FunctionApplication {
                   function: Variable {
                    identifier: "attrsOf",
                    position: (43, 28),
                   },
                   arguments: [
                    FunctionApplication {
                     function: Variable {
                      identifier: "oneOf",
                      position: (43, 37),
                     },
                     arguments: [
                      List {
                       elements: [
                        Variable {
                         identifier: "bool",
                         position: (43, 45),
                        },
                        Variable {
                         identifier: "int",
                         position: (43, 50),
                        },
                        Variable {
                         identifier: "str",
                         position: (43, 54),
                        },
                       ],
                       position: (43, 43),
                      },
                     ],
                    },
                   ],
                  },
                  position: (43, 16),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (44, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [],
                  recursive: false,
                  position: (44, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (45, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "NZBGet configuration, passed via command line using switch -o. Refer to\n<link xlink:href=\"https://github.com/nzbget/nzbget/blob/master/nzbget.conf\"/>\nfor details on supported values.\n",
                    position: (46, 1),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "example",
                    position: (50, 9),
                   },
                  ],
                 },
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "MainDir",
                       position: (51, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "/data",
                       position: (51, 22),
                      },
                     ],
                    },
                   ),
                  ],
                  recursive: false,
                  position: (50, 19),
                 },
                ),
               ],
               recursive: false,
               position: (42, 27),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (27, 23),
         },
        ),
       ],
       recursive: false,
       position: (26, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (59, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (59, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (59, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (59, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (60, 5),
             },
             Raw {
              content: "nzbget",
              position: (60, 14),
             },
             Raw {
              content: "settings",
              position: (60, 21),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "OutputMode",
                 position: (62, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "loggable",
                 position: (62, 21),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "WriteLog",
                 position: (64, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "none",
                 position: (64, 19),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "ErrorTarget",
                 position: (65, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "screen",
                 position: (65, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "WarningTarget",
                 position: (66, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "screen",
                 position: (66, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "InfoTarget",
                 position: (67, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "screen",
                 position: (67, 21),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "DetailTarget",
                 position: (68, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "screen",
                 position: (68, 23),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "ConfigTemplate",
                 position: (70, 7),
                },
               ],
              },
              String {
               parts: [
                Expression {
                 expression: Variable {
                  identifier: "pkg",
                  position: (70, 27),
                 },
                },
                Raw {
                 content: "/share/nzbget/nzbget.conf",
                 position: (70, 31),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "WebDir",
                 position: (71, 7),
                },
               ],
              },
              String {
               parts: [
                Expression {
                 expression: Variable {
                  identifier: "pkg",
                  position: (71, 19),
                 },
                },
                Raw {
                 content: "/share/nzbget/webui",
                 position: (71, 23),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "UpdateCheck",
                 position: (73, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "none",
                 position: (73, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (60, 32),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (76, 5),
             },
             Raw {
              content: "services",
              position: (76, 13),
             },
             Raw {
              content: "nzbget",
              position: (76, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (77, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "NZBGet Daemon",
                 position: (77, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (78, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (78, 18),
                  },
                 ],
                },
               ],
               position: (78, 15),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (79, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (79, 21),
                  },
                 ],
                },
               ],
               position: (79, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "path",
                 position: (80, 7),
                },
               ],
              },
              With {
               expression: Variable {
                identifier: "pkgs",
                position: (80, 19),
               },
               target: List {
                elements: [
                 Variable {
                  identifier: "unrar",
                  position: (81, 9),
                 },
                 Variable {
                  identifier: "p7zip",
                  position: (82, 9),
                 },
                ],
                position: (80, 25),
               },
               position: (80, 14),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "preStart",
                 position: (85, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "if [ ! -f ",
                 position: (86, 1),
                },
                Expression {
                 expression: Variable {
                  identifier: "configFile",
                  position: (86, 21),
                 },
                },
                Raw {
                 content: " ]; then\n  ",
                 position: (86, 32),
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (87, 13),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "coreutils",
                     position: (87, 18),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/bin/install -m 0700 ",
                 position: (87, 28),
                },
                Expression {
                 expression: Variable {
                  identifier: "pkg",
                  position: (87, 51),
                 },
                },
                Raw {
                 content: "/share/nzbget/nzbget.conf ",
                 position: (87, 55),
                },
                Expression {
                 expression: Variable {
                  identifier: "configFile",
                  position: (87, 83),
                 },
                },
                Raw {
                 content: "\nfi\n",
                 position: (87, 94),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (91, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StateDirectory",
                    position: (92, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "nzbget",
                    position: (92, 27),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "StateDirectoryMode",
                    position: (93, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "0750",
                    position: (93, 31),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "User",
                    position: (94, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (94, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "user",
                     position: (94, 20),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Group",
                    position: (95, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (95, 17),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "group",
                     position: (95, 21),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "UMask",
                    position: (96, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "0002",
                    position: (96, 18),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (97, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "on-failure",
                    position: (97, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (98, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: Variable {
                     identifier: "pkg",
                     position: (98, 24),
                    },
                   },
                   Raw {
                    content: "/bin/nzbget --server --configfile ",
                    position: (98, 28),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "stateDir",
                     position: (98, 64),
                    },
                   },
                   Raw {
                    content: "/nzbget.conf ",
                    position: (98, 73),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "configOpts",
                     position: (98, 88),
                    },
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStop",
                    position: (99, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: Variable {
                     identifier: "pkg",
                     position: (99, 23),
                    },
                   },
                   Raw {
                    content: "/bin/nzbget --quit",
                    position: (99, 27),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (91, 23),
              },
             ),
            ],
            recursive: false,
            position: (76, 31),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (103, 5),
             },
             Raw {
              content: "users",
              position: (103, 11),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (103, 19),
            },
            arguments: [
             BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (103, 25),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "user",
                   position: (103, 29),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "nzbget",
                  position: (103, 38),
                 },
                ],
               },
              ],
              position: (103, 34),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "nzbget",
                   position: (104, 7),
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "home",
                      position: (105, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "stateDir",
                    position: (105, 16),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "group",
                      position: (106, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (106, 17),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "group",
                       position: (106, 21),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "uid",
                      position: (107, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (107, 15),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "ids",
                       position: (107, 22),
                      },
                      Raw {
                       content: "uids",
                       position: (107, 26),
                      },
                      Raw {
                       content: "nzbget",
                       position: (107, 31),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                 ],
                 recursive: false,
                 position: (104, 16),
                },
               ),
              ],
              recursive: false,
              position: (103, 47),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (111, 5),
             },
             Raw {
              content: "groups",
              position: (111, 11),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (111, 20),
            },
            arguments: [
             BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (111, 26),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "group",
                   position: (111, 30),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "nzbget",
                  position: (111, 40),
                 },
                ],
               },
              ],
              position: (111, 36),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "nzbget",
                   position: (112, 7),
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "gid",
                      position: (113, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (113, 15),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "ids",
                       position: (113, 22),
                      },
                      Raw {
                       content: "gids",
                       position: (113, 26),
                      },
                      Raw {
                       content: "nzbget",
                       position: (113, 31),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                 ],
                 recursive: false,
                 position: (112, 16),
                },
               ),
              ],
              recursive: false,
              position: (111, 49),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (59, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (17, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}