---
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: (5, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (5, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (5, 16),
        },
        Raw {
         content: "paperless",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "defaultUser",
        position: (7, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "paperless",
       },
      ],
      position: (7, 17),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "enableRedis",
        position: (10, 3),
       },
      ],
     },
     UnaryOperation {
      operator: Not,
      operand: FunctionApplication {
       function: Variable {
        identifier: "hasAttr",
        position: (10, 18),
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: "PAPERLESS_REDIS",
          },
         ],
         position: (10, 26),
        },
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (10, 44),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "extraConfig",
            position: (10, 48),
           },
          ],
         },
         default: None,
        },
       ],
      },
      position: (10, 17),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "redisServer",
        position: (11, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (11, 17),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (11, 24),
        },
        Raw {
         content: "redis",
         position: (11, 33),
        },
        Raw {
         content: "servers",
         position: (11, 39),
        },
        Raw {
         content: "paperless",
         position: (11, 47),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "env",
        position: (13, 3),
       },
      ],
     },
     BinaryOperation {
      operator: Update,
      operands: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "PAPERLESS_DATA_DIR",
             position: (14, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (14, 26),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "dataDir",
              position: (14, 30),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "PAPERLESS_MEDIA_ROOT",
             position: (15, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (15, 28),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "mediaDir",
              position: (15, 32),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "PAPERLESS_CONSUMPTION_DIR",
             position: (16, 5),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (16, 33),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "consumptionDir",
              position: (16, 37),
             },
            ],
           },
           default: None,
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "GUNICORN_CMD_ARGS",
             position: (17, 5),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "--bind=",
            },
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (17, 35),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "address",
                 position: (17, 39),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: ":",
            },
            Expression {
             expression: FunctionApplication {
              function: Variable {
               identifier: "toString",
               position: (17, 50),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (17, 59),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "port",
                   position: (17, 63),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            },
           ],
           position: (17, 25),
          },
         ),
        ],
        recursive: false,
        position: (13, 9),
       },
       BinaryOperation {
        operator: Update,
        operands: [
         FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (19, 5),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "mapAttrs",
              position: (19, 9),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Function {
            argument: Some(
             "_",
            ),
            arguments: FunctionArguments {
             arguments: [],
             ellipsis: false,
            },
            definition: Variable {
             identifier: "toString",
             position: (19, 22),
            },
            position: (19, 19),
           },
           PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (19, 32),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "extraConfig",
               position: (19, 36),
              },
             ],
            },
            default: None,
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "optionalAttrs",
           position: (20, 9),
          },
          arguments: [
           Variable {
            identifier: "enableRedis",
            position: (20, 23),
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "PAPERLESS_REDIS",
                 position: (21, 5),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "unix://",
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "redisServer",
                   position: (21, 33),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "unixSocket",
                     position: (21, 45),
                    },
                   ],
                  },
                  default: None,
                 },
                },
               ],
               position: (21, 23),
              },
             ),
            ],
            recursive: false,
            position: (20, 35),
           },
          ],
         },
        ],
        position: (20, 5),
       },
      ],
      position: (18, 5),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "manage",
        position: (24, 3),
       },
      ],
     },
     LetIn {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "setupEnv",
           position: (25, 5),
          },
         ],
        },
        FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "lib",
           position: (25, 16),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "concatStringsSep",
             position: (25, 20),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: "\n",
            },
           ],
           position: (25, 37),
          },
          FunctionApplication {
           function: Variable {
            identifier: "mapAttrsToList",
            position: (25, 43),
           },
           arguments: [
            Function {
             argument: Some(
              "name",
             ),
             arguments: FunctionArguments {
              arguments: [],
              ellipsis: false,
             },
             definition: Function {
              argument: Some(
               "val",
              ),
              arguments: FunctionArguments {
               arguments: [],
               ellipsis: false,
              },
              definition: String {
               parts: [
                Raw {
                 content: "export ",
                },
                Expression {
                 expression: Variable {
                  identifier: "name",
                  position: (25, 80),
                 },
                },
                Raw {
                 content: "=\"",
                },
                Expression {
                 expression: Variable {
                  identifier: "val",
                  position: (25, 90),
                 },
                },
                Raw {
                 content: "\"",
                },
               ],
               position: (25, 70),
              },
              position: (25, 65),
             },
             position: (25, 59),
            },
            Variable {
             identifier: "env",
             position: (25, 99),
            },
           ],
          },
         ],
        },
       ),
      ],
      target: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "pkgs",
         position: (26, 6),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "writeShellScript",
           position: (26, 11),
          },
         ],
        },
        default: None,
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: "manage",
          },
         ],
         position: (26, 28),
        },
        String {
         parts: [
          Raw {
           content: "",
          },
          Expression {
           expression: Variable {
            identifier: "setupEnv",
            position: (27, 7),
           },
          },
          Raw {
           content: "\nexec ",
          },
          Expression {
           expression: PropertyAccess {
            expression: Variable {
             identifier: "cfg",
             position: (28, 12),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "package",
               position: (28, 16),
              },
             ],
            },
            default: None,
           },
          },
          Raw {
           content: "/bin/paperless-ngx \"$@\"\n",
          },
         ],
         position: (26, 37),
        },
       ],
      },
      position: (24, 12),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "defaultServiceConfig",
        position: (32, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "TemporaryFileSystem",
           position: (33, 5),
          },
         ],
        },
        String {
         parts: [
          Raw {
           content: "/:ro",
          },
         ],
         position: (33, 27),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "BindReadOnlyPaths",
           position: (34, 5),
          },
         ],
        },
        BinaryOperation {
         operator: Concatenation,
         operands: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "/nix/store",
              },
             ],
             position: (35, 7),
            },
            String {
             parts: [
              Raw {
               content: "-/etc/resolv.conf",
              },
             ],
             position: (36, 7),
            },
            String {
             parts: [
              Raw {
               content: "-/etc/nsswitch.conf",
              },
             ],
             position: (37, 7),
            },
            String {
             parts: [
              Raw {
               content: "-/etc/hosts",
              },
             ],
             position: (38, 7),
            },
            String {
             parts: [
              Raw {
               content: "-/etc/localtime",
              },
             ],
             position: (39, 7),
            },
            String {
             parts: [
              Raw {
               content: "-/run/postgresql",
              },
             ],
             position: (40, 7),
            },
           ],
           position: (34, 25),
          },
          FunctionApplication {
           function: Variable {
            identifier: "optional",
            position: (41, 11),
           },
           arguments: [
            Variable {
             identifier: "enableRedis",
             position: (41, 20),
            },
            PropertyAccess {
             expression: Variable {
              identifier: "redisServer",
              position: (41, 32),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "unixSocket",
                position: (41, 44),
               },
              ],
             },
             default: None,
            },
           ],
          },
         ],
         position: (41, 7),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "BindPaths",
           position: (42, 5),
          },
         ],
        },
        List {
         elements: [
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (43, 7),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "consumptionDir",
              position: (43, 11),
             },
            ],
           },
           default: None,
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (44, 7),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "dataDir",
              position: (44, 11),
             },
            ],
           },
           default: None,
          },
          PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (45, 7),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "mediaDir",
              position: (45, 11),
             },
            ],
           },
           default: None,
          },
         ],
         position: (42, 17),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "CapabilityBoundingSet",
           position: (47, 5),
          },
         ],
        },
        String {
         parts: [],
         position: (47, 29),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "DeviceAllow",
           position: (49, 5),
          },
         ],
        },
        String {
         parts: [],
         position: (49, 19),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "LockPersonality",
           position: (50, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (50, 23),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "MemoryDenyWriteExecute",
           position: (51, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (51, 30),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "NoNewPrivileges",
           position: (52, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (52, 23),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "PrivateDevices",
           position: (53, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (53, 22),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "PrivateMounts",
           position: (54, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (54, 21),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "PrivateNetwork",
           position: (55, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (55, 22),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "PrivateTmp",
           position: (56, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (56, 18),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "PrivateUsers",
           position: (57, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (57, 20),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectClock",
           position: (58, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (58, 20),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectHostname",
           position: (62, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (62, 23),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectControlGroups",
           position: (65, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (65, 28),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectKernelLogs",
           position: (66, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (66, 25),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectKernelModules",
           position: (67, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (67, 28),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectKernelTunables",
           position: (68, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (68, 29),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "ProtectProc",
           position: (69, 5),
          },
         ],
        },
        String {
         parts: [
          Raw {
           content: "invisible",
          },
         ],
         position: (69, 19),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "RestrictAddressFamilies",
           position: (74, 5),
          },
         ],
        },
        List {
         elements: [
          String {
           parts: [
            Raw {
             content: "AF_UNIX",
            },
           ],
           position: (74, 33),
          },
          String {
           parts: [
            Raw {
             content: "AF_INET",
            },
           ],
           position: (74, 43),
          },
          String {
           parts: [
            Raw {
             content: "AF_INET6",
            },
           ],
           position: (74, 53),
          },
         ],
         position: (74, 31),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "RestrictNamespaces",
           position: (75, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (75, 26),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "RestrictRealtime",
           position: (76, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (76, 24),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "RestrictSUIDSGID",
           position: (77, 5),
          },
         ],
        },
        Variable {
         identifier: "true",
         position: (77, 24),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "SupplementaryGroups",
           position: (78, 5),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "optional",
          position: (78, 27),
         },
         arguments: [
          Variable {
           identifier: "enableRedis",
           position: (78, 36),
          },
          PropertyAccess {
           expression: Variable {
            identifier: "redisServer",
            position: (78, 48),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "user",
              position: (78, 60),
             },
            ],
           },
           default: None,
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "SystemCallArchitectures",
           position: (79, 5),
          },
         ],
        },
        String {
         parts: [
          Raw {
           content: "native",
          },
         ],
         position: (79, 31),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "SystemCallFilter",
           position: (80, 5),
          },
         ],
        },
        List {
         elements: [
          String {
           parts: [
            Raw {
             content: "@system-service",
            },
           ],
           position: (80, 26),
          },
          String {
           parts: [
            Raw {
             content: "~@privileged @resources @setuid @keyring",
            },
           ],
           position: (80, 44),
          },
         ],
         position: (80, 24),
        },
       ),
      ],
      recursive: false,
      position: (32, 26),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "meta",
         position: (86, 3),
        },
        Raw {
         content: "maintainers",
         position: (86, 8),
        },
       ],
      },
      With {
       expression: Variable {
        identifier: "maintainers",
        position: (86, 27),
       },
       target: List {
        elements: [
         Variable {
          identifier: "earvstedt",
          position: (86, 42),
         },
         Variable {
          identifier: "Flakebi",
          position: (86, 52),
         },
        ],
        position: (86, 40),
       },
       position: (86, 22),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "imports",
         position: (88, 3),
        },
       ],
      },
      List {
       elements: [
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (89, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
              },
             ],
             position: (89, 30),
            },
            String {
             parts: [
              Raw {
               content: "paperless-ng",
              },
             ],
             position: (89, 41),
            },
           ],
           position: (89, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "services",
              },
             ],
             position: (89, 60),
            },
            String {
             parts: [
              Raw {
               content: "paperless",
              },
             ],
             position: (89, 71),
            },
           ],
           position: (89, 58),
          },
         ],
        },
       ],
       position: (88, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (92, 3),
        },
        Raw {
         content: "services",
         position: (92, 11),
        },
        Raw {
         content: "paperless",
         position: (92, 20),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (93, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (93, 14),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (94, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (94, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "types",
                  position: (94, 18),
                 },
                 Raw {
                  content: "bool",
                  position: (94, 24),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (95, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (95, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (96, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Enable Paperless.\n\nWhen started, the Paperless database is automatically created if it doesn't\nexist and updated if the Paperless package has changed.\nBoth tasks are achieved by running a Django migration.\n\nA script to manage the Paperless instance (by wrapping Django's manage.py) is linked to\n<literal>",
                },
                Raw {
                 content: "$",
                },
                Raw {
                 content: "{dataDir}/paperless-manage</literal>.\n",
                },
               ],
               position: (96, 21),
              },
             ),
            ],
            recursive: false,
            position: (93, 23),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "dataDir",
            position: (108, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (108, 15),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (109, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (109, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (109, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (110, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "/var/lib/paperless",
                },
               ],
               position: (110, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (111, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Directory to store the Paperless data.",
                },
               ],
               position: (111, 21),
              },
             ),
            ],
            recursive: false,
            position: (108, 24),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "mediaDir",
            position: (114, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (114, 16),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (115, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (115, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (115, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (116, 7),
                },
               ],
              },
              String {
               parts: [
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (116, 20),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "dataDir",
                     position: (116, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/media",
                },
               ],
               position: (116, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (117, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (117, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "\"",
                  },
                  Raw {
                   content: "$",
                  },
                  Raw {
                   content: "{dataDir}/media\"",
                  },
                 ],
                 position: (117, 39),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (118, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Directory to store the Paperless documents.",
                },
               ],
               position: (118, 21),
              },
             ),
            ],
            recursive: false,
            position: (114, 25),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "consumptionDir",
            position: (121, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (121, 22),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (122, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (122, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (122, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (123, 7),
                },
               ],
              },
              String {
               parts: [
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (123, 20),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "dataDir",
                     position: (123, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/consume",
                },
               ],
               position: (123, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (124, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (124, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "\"",
                  },
                  Raw {
                   content: "$",
                  },
                  Raw {
                   content: "{dataDir}/consume\"",
                  },
                 ],
                 position: (124, 39),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (125, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Directory from which new documents are imported.",
                },
               ],
               position: (125, 21),
              },
             ),
            ],
            recursive: false,
            position: (121, 31),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "consumptionDirIsPublic",
            position: (128, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (128, 30),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (129, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (129, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (129, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (130, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (130, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (131, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Whether all users can write to the consumption dir.",
                },
               ],
               position: (131, 21),
              },
             ),
            ],
            recursive: false,
            position: (128, 39),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "passwordFile",
            position: (134, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (134, 20),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (135, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (135, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "nullOr",
                   position: (135, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (135, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "path",
                    position: (135, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (136, 7),
                },
               ],
              },
              Variable {
               identifier: "null",
               position: (136, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (137, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "/run/keys/paperless-password",
                },
               ],
               position: (137, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (138, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "A file containing the superuser password.\n\nA superuser is required to access the web interface.\nIf unset, you can create a superuser manually by running\n<literal>",
                },
                Raw {
                 content: "$",
                },
                Raw {
                 content: "{dataDir}/paperless-manage createsuperuser</literal>.\n\nThe default superuser name is <literal>admin</literal>. To change it, set\noption <option>extraConfig.PAPERLESS_ADMIN_USER</option>.\nWARNING: When changing the superuser name after the initial setup, the old superuser\nwill continue to exist.\n\nTo disable login for the web interface, set the following:\n<literal>extraConfig.PAPERLESS_AUTO_LOGIN_USERNAME = \"admin\";</literal>.\nWARNING: Only use this on a trusted system without internet access to Paperless.\n",
                },
               ],
               position: (138, 21),
              },
             ),
            ],
            recursive: false,
            position: (134, 29),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "address",
            position: (156, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (156, 15),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (157, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (157, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (157, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (158, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "localhost",
                },
               ],
               position: (158, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (159, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Web interface address.",
                },
               ],
               position: (159, 21),
              },
             ),
            ],
            recursive: false,
            position: (156, 24),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "port",
            position: (162, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (162, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (163, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (163, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (163, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (164, 7),
                },
               ],
              },
              Int {
               value: 28981,
               position: (164, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (165, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Web interface port.",
                },
               ],
               position: (165, 21),
              },
             ),
            ],
            recursive: false,
            position: (162, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "extraConfig",
            position: (168, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (168, 19),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (169, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (169, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "attrs",
                  position: (169, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (170, 7),
                },
               ],
              },
              Map {
               bindings: [],
               recursive: false,
               position: (170, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (171, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Extra paperless config options.\n\nSee <link xlink:href=\"https://paperless-ngx.readthedocs.io/en/latest/configuration.html\">the documentation</link>\nfor available options.\n",
                },
               ],
               position: (171, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (177, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (177, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "{\n  PAPERLESS_OCR_LANGUAGE = \"deu+eng\";\n}\n",
                  },
                 ],
                 position: (177, 35),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (168, 28),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "user",
            position: (184, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (184, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (185, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (185, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (185, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (186, 7),
                },
               ],
              },
              Variable {
               identifier: "defaultUser",
               position: (186, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (187, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "User under which Paperless runs.",
                },
               ],
               position: (187, 21),
              },
             ),
            ],
            recursive: false,
            position: (184, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "package",
            position: (190, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (190, 15),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (191, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (191, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "package",
                  position: (191, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (192, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (192, 17),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "paperless-ngx",
                  position: (192, 22),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (193, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (193, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "pkgs.paperless-ngx",
                  },
                 ],
                 position: (193, 39),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (194, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The Paperless package to use.",
                },
               ],
               position: (194, 21),
              },
             ),
            ],
            recursive: false,
            position: (190, 24),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (92, 32),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (198, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (198, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (198, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (198, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (199, 5),
             },
             Raw {
              content: "redis",
              position: (199, 14),
             },
             Raw {
              content: "servers",
              position: (199, 20),
             },
             Raw {
              content: "paperless",
              position: (199, 28),
             },
             Raw {
              content: "enable",
              position: (199, 38),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (199, 47),
            },
            arguments: [
             Variable {
              identifier: "enableRedis",
              position: (199, 52),
             },
             Variable {
              identifier: "true",
              position: (199, 64),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (201, 5),
             },
             Raw {
              content: "tmpfiles",
              position: (201, 13),
             },
             Raw {
              content: "rules",
              position: (201, 22),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "d '",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (202, 13),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "dataDir",
                    position: (202, 17),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "' - ",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (202, 31),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "user",
                    position: (202, 35),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: " ",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (202, 43),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "users",
                    position: (202, 50),
                   },
                   Raw {
                    content: "users",
                    position: (202, 56),
                   },
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (202, 64),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "user",
                        position: (202, 68),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "group",
                    position: (202, 74),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: " - -",
               },
              ],
              position: (202, 7),
             },
             String {
              parts: [
               Raw {
                content: "d '",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (203, 13),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "mediaDir",
                    position: (203, 17),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "' - ",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (203, 32),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "user",
                    position: (203, 36),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: " ",
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (203, 44),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "users",
                    position: (203, 51),
                   },
                   Raw {
                    content: "users",
                    position: (203, 57),
                   },
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (203, 65),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "user",
                        position: (203, 69),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "group",
                    position: (203, 75),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: " - -",
               },
              ],
              position: (203, 7),
             },
             IfThenElse {
              predicate: PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (204, 11),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "consumptionDirIsPublic",
                  position: (204, 15),
                 },
                ],
               },
               default: None,
              },
              then: String {
               parts: [
                Raw {
                 content: "d '",
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (205, 15),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "consumptionDir",
                     position: (205, 19),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "' 777 - - - -",
                },
               ],
               position: (205, 9),
              },
              else_: String {
               parts: [
                Raw {
                 content: "d '",
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (207, 15),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "consumptionDir",
                     position: (207, 19),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "' - ",
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (207, 40),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "user",
                     position: (207, 44),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: " ",
                },
                Expression {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "config",
                   position: (207, 52),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "users",
                     position: (207, 59),
                    },
                    Raw {
                     content: "users",
                     position: (207, 65),
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (207, 73),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "user",
                         position: (207, 77),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "group",
                     position: (207, 83),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: " - -",
                },
               ],
               position: (207, 9),
              },
              position: (204, 8),
             },
            ],
            position: (201, 30),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (211, 5),
             },
             Raw {
              content: "services",
              position: (211, 13),
             },
             Raw {
              content: "paperless-scheduler",
              position: (211, 22),
             },
            ],
           },
           BinaryOperation {
            operator: Update,
            operands: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (212, 7),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "Paperless scheduler",
                  },
                 ],
                 position: (212, 21),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceConfig",
                   position: (213, 7),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Update,
                 operands: [
                  Variable {
                   identifier: "defaultServiceConfig",
                   position: (213, 23),
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "User",
                        position: (214, 9),
                       },
                      ],
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (214, 16),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "user",
                         position: (214, 20),
                        },
                       ],
                      },
                      default: None,
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "ExecStart",
                        position: (215, 9),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (215, 24),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "package",
                            position: (215, 28),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/paperless-ngx qcluster",
                       },
                      ],
                      position: (215, 21),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "Restart",
                        position: (216, 9),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "on-failure",
                       },
                      ],
                      position: (216, 19),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "SystemCallFilter",
                        position: (218, 9),
                       },
                      ],
                     },
                     BinaryOperation {
                      operator: Concatenation,
                      operands: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "defaultServiceConfig",
                         position: (218, 28),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "SystemCallFilter",
                           position: (218, 49),
                          },
                         ],
                        },
                        default: None,
                       },
                       List {
                        elements: [
                         String {
                          parts: [
                           Raw {
                            content: "mbind",
                           },
                          ],
                          position: (218, 71),
                         },
                        ],
                        position: (218, 69),
                       },
                      ],
                      position: (218, 66),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "PrivateNetwork",
                        position: (220, 9),
                       },
                      ],
                     },
                     Variable {
                      identifier: "false",
                      position: (220, 26),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (213, 47),
                  },
                 ],
                 position: (213, 44),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "environment",
                   position: (222, 7),
                  },
                 ],
                },
                Variable {
                 identifier: "env",
                 position: (222, 21),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "wantedBy",
                   position: (223, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "multi-user.target",
                    },
                   ],
                   position: (223, 20),
                  },
                 ],
                 position: (223, 18),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "wants",
                   position: (224, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "paperless-consumer.service",
                    },
                   ],
                   position: (224, 17),
                  },
                  String {
                   parts: [
                    Raw {
                     content: "paperless-web.service",
                    },
                   ],
                   position: (224, 46),
                  },
                 ],
                 position: (224, 15),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "preStart",
                   position: (226, 7),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Addition,
                 operands: [
                  String {
                   parts: [
                    Raw {
                     content: "ln -sf ",
                    },
                    Expression {
                     expression: Variable {
                      identifier: "manage",
                      position: (227, 18),
                     },
                    },
                    Raw {
                     content: " ",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (227, 28),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "dataDir",
                         position: (227, 32),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/paperless-manage\n\n# Auto-migrate on first run or if the package has changed\nversionFile=\"",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (230, 24),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "dataDir",
                         position: (230, 28),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/src-version\"\nif [[ $(cat \"$versionFile\" 2>/dev/null) != ",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (231, 54),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (231, 58),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: " ]]; then\n  ",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (232, 13),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (232, 17),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/bin/paperless-ngx migrate\n  echo ",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (233, 18),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (233, 22),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: " > \"$versionFile\"\nfi\n",
                    },
                   ],
                   position: (226, 18),
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "optionalString",
                    position: (236, 9),
                   },
                   arguments: [
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (236, 25),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "passwordFile",
                          position: (236, 29),
                         },
                        ],
                       },
                       default: None,
                      },
                      Variable {
                       identifier: "null",
                       position: (236, 45),
                      },
                     ],
                     position: (236, 42),
                    },
                    String {
                     parts: [
                      Raw {
                       content: "export PAPERLESS_ADMIN_USER=\"",
                      },
                      Raw {
                       content: "$",
                      },
                      Raw {
                       content: "{PAPERLESS_ADMIN_USER:-admin}\"\nexport PAPERLESS_ADMIN_PASSWORD=$(cat \"",
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (238, 50),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "dataDir",
                           position: (238, 54),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: "/superuser-password\")\nsuperuserState=\"$PAPERLESS_ADMIN_USER:$PAPERLESS_ADMIN_PASSWORD\"\nsuperuserStateFile=\"",
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (240, 31),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "dataDir",
                           position: (240, 35),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: "/superuser-state\"\n\nif [[ $(cat \"$superuserStateFile\" 2>/dev/null) != $superuserState ]]; then\n  ",
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (243, 13),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "package",
                           position: (243, 17),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: "/bin/paperless-ngx manage_superuser\n  echo \"$superuserState\" > \"$superuserStateFile\"\nfi\n",
                      },
                     ],
                     position: (236, 51),
                    },
                   ],
                  },
                 ],
                 position: (236, 7),
                },
               ),
              ],
              recursive: false,
              position: (211, 44),
             },
             FunctionApplication {
              function: Variable {
               identifier: "optionalAttrs",
               position: (247, 10),
              },
              arguments: [
               Variable {
                identifier: "enableRedis",
                position: (247, 24),
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "after",
                     position: (248, 7),
                    },
                   ],
                  },
                  List {
                   elements: [
                    String {
                     parts: [
                      Raw {
                       content: "redis-paperless.service",
                      },
                     ],
                     position: (248, 17),
                    },
                   ],
                   position: (248, 15),
                  },
                 ),
                ],
                recursive: false,
                position: (247, 36),
               },
              ],
             },
            ],
            position: (247, 7),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (252, 5),
             },
             Raw {
              content: "services",
              position: (252, 13),
             },
             Raw {
              content: "paperless-copy-password",
              position: (252, 22),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (252, 48),
            },
            arguments: [
             BinaryOperation {
              operator: NotEqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (252, 54),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "passwordFile",
                   position: (252, 58),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "null",
                position: (252, 74),
               },
              ],
              position: (252, 71),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "requiredBy",
                   position: (253, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "paperless-scheduler.service",
                    },
                   ],
                   position: (253, 22),
                  },
                 ],
                 position: (253, 20),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "before",
                   position: (254, 7),
                  },
                 ],
                },
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "paperless-scheduler.service",
                    },
                   ],
                   position: (254, 18),
                  },
                 ],
                 position: (254, 16),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "serviceConfig",
                   position: (255, 7),
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "ExecStart",
                      position: (256, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "pkgs",
                        position: (257, 13),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "coreutils",
                          position: (257, 18),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/install --mode 600 --owner ",
                     },
                     Raw {
                      content: "'",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (257, 63),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "user",
                          position: (257, 67),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "' --compare \\\n  ",
                     },
                     Raw {
                      content: "'",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (258, 16),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "passwordFile",
                          position: (258, 20),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "' ",
                     },
                     Raw {
                      content: "'",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (258, 38),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "dataDir",
                          position: (258, 42),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/superuser-password'\n",
                     },
                    ],
                    position: (256, 21),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "Type",
                      position: (260, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "oneshot",
                     },
                    ],
                    position: (260, 16),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (255, 23),
                },
               ),
              ],
              recursive: false,
              position: (252, 80),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (264, 5),
             },
             Raw {
              content: "services",
              position: (264, 13),
             },
             Raw {
              content: "paperless-consumer",
              position: (264, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (265, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Paperless document consumer",
                },
               ],
               position: (265, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (266, 7),
                },
               ],
              },
              BinaryOperation {
               operator: Update,
               operands: [
                Variable {
                 identifier: "defaultServiceConfig",
                 position: (266, 23),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "User",
                      position: (267, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (267, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "user",
                       position: (267, 20),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "ExecStart",
                      position: (268, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (268, 24),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (268, 28),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/paperless-ngx document_consumer",
                     },
                    ],
                    position: (268, 21),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "Restart",
                      position: (269, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "on-failure",
                     },
                    ],
                    position: (269, 19),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (266, 47),
                },
               ],
               position: (266, 44),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "environment",
                 position: (271, 7),
                },
               ],
              },
              Variable {
               identifier: "env",
               position: (271, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "bindsTo",
                 position: (274, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "paperless-scheduler.service",
                  },
                 ],
                 position: (274, 19),
                },
               ],
               position: (274, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (275, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "paperless-scheduler.service",
                  },
                 ],
                 position: (275, 17),
                },
               ],
               position: (275, 15),
              },
             ),
            ],
            recursive: false,
            position: (264, 43),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (278, 5),
             },
             Raw {
              content: "services",
              position: (278, 13),
             },
             Raw {
              content: "paperless-web",
              position: (278, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (279, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Paperless web server",
                },
               ],
               position: (279, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (280, 7),
                },
               ],
              },
              BinaryOperation {
               operator: Update,
               operands: [
                Variable {
                 identifier: "defaultServiceConfig",
                 position: (280, 23),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "User",
                      position: (281, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (281, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "user",
                       position: (281, 20),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "ExecStart",
                      position: (282, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "pkgs",
                        position: (283, 13),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "python3Packages",
                          position: (283, 18),
                         },
                         Raw {
                          content: "gunicorn",
                          position: (283, 34),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/bin/gunicorn \\\n  -c ",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (284, 18),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (284, 22),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/lib/paperless-ngx/gunicorn.conf.py paperless.asgi:application\n",
                     },
                    ],
                    position: (282, 21),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "Restart",
                      position: (286, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "on-failure",
                     },
                    ],
                    position: (286, 19),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "AmbientCapabilities",
                      position: (288, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "CAP_NET_BIND_SERVICE",
                     },
                    ],
                    position: (288, 31),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "CapabilityBoundingSet",
                      position: (289, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "CAP_NET_BIND_SERVICE",
                     },
                    ],
                    position: (289, 33),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "SystemCallFilter",
                      position: (291, 9),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "defaultServiceConfig",
                       position: (291, 28),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "SystemCallFilter",
                         position: (291, 49),
                        },
                       ],
                      },
                      default: None,
                     },
                     List {
                      elements: [
                       String {
                        parts: [
                         Raw {
                          content: "@setuid",
                         },
                        ],
                        position: (291, 71),
                       },
                      ],
                      position: (291, 69),
                     },
                    ],
                    position: (291, 66),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "PrivateNetwork",
                      position: (293, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "false",
                    position: (293, 26),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (280, 47),
                },
               ],
               position: (280, 44),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "environment",
                 position: (295, 7),
                },
               ],
              },
              BinaryOperation {
               operator: Update,
               operands: [
                Variable {
                 identifier: "env",
                 position: (295, 21),
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "PATH",
                      position: (296, 9),
                     },
                    ],
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "mkForce",
                     position: (296, 16),
                    },
                    arguments: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (296, 24),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "package",
                         position: (296, 28),
                        },
                        Raw {
                         content: "path",
                         position: (296, 36),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "PYTHONPATH",
                      position: (297, 9),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (297, 25),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (297, 29),
                         },
                         Raw {
                          content: "pythonPath",
                          position: (297, 37),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: ":",
                     },
                     Expression {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (297, 51),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "package",
                          position: (297, 55),
                         },
                        ],
                       },
                       default: None,
                      },
                     },
                     Raw {
                      content: "/lib/paperless-ngx/src",
                     },
                    ],
                    position: (297, 22),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (295, 28),
                },
               ],
               position: (295, 25),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "unitConfig",
                 position: (301, 7),
                },
                Raw {
                 content: "JoinsNamespaceOf",
                 position: (301, 18),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "paperless-scheduler.service",
                },
               ],
               position: (301, 37),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "bindsTo",
                 position: (304, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "paperless-scheduler.service",
                  },
                 ],
                 position: (304, 19),
                },
               ],
               position: (304, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (305, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "paperless-scheduler.service",
                  },
                 ],
                 position: (305, 17),
                },
               ],
               position: (305, 15),
              },
             ),
            ],
            recursive: false,
            position: (278, 38),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (308, 5),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (308, 13),
            },
            arguments: [
             BinaryOperation {
              operator: EqualTo,
              operands: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (308, 28),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "user",
                   position: (308, 32),
                  },
                 ],
                },
                default: None,
               },
               Variable {
                identifier: "defaultUser",
                position: (308, 40),
               },
              ],
              position: (308, 37),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "users",
                   position: (309, 7),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "defaultUser",
                    position: (309, 15),
                   },
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "group",
                      position: (310, 9),
                     },
                    ],
                   },
                   Variable {
                    identifier: "defaultUser",
                    position: (310, 17),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "uid",
                      position: (311, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (311, 15),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "ids",
                       position: (311, 22),
                      },
                      Raw {
                       content: "uids",
                       position: (311, 26),
                      },
                      Raw {
                       content: "paperless",
                       position: (311, 31),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "home",
                      position: (312, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (312, 16),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "dataDir",
                       position: (312, 20),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                 ],
                 recursive: false,
                 position: (309, 30),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "groups",
                   position: (315, 7),
                  },
                  Expression {
                   expression: Variable {
                    identifier: "defaultUser",
                    position: (315, 16),
                   },
                  },
                 ],
                },
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "gid",
                      position: (316, 9),
                     },
                    ],
                   },
                   PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (316, 15),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "ids",
                       position: (316, 22),
                      },
                      Raw {
                       content: "gids",
                       position: (316, 26),
                      },
                      Raw {
                       content: "paperless",
                       position: (316, 31),
                      },
                     ],
                    },
                    default: None,
                   },
                  ),
                 ],
                 recursive: false,
                 position: (315, 31),
                },
               ),
              ],
              recursive: false,
              position: (308, 53),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (198, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (85, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}