---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (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: "k3s",
         position: (5, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (9, 3),
        },
        Raw {
         content: "services",
         position: (9, 11),
        },
        Raw {
         content: "k3s",
         position: (9, 20),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (10, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (10, 14),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "k3s",
              position: (10, 30),
             },
            ],
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "package",
            position: (12, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (12, 15),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (13, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (13, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "package",
                  position: (13, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (14, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (14, 17),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "k3s",
                  position: (14, 22),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "defaultText",
                 position: (15, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (15, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "pkgs.k3s",
                   position: (15, 40),
                  },
                 ],
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (16, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Package that should be used for k3s",
                 position: (16, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (12, 24),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "role",
            position: (19, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (19, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (20, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Whether k3s should run as a server or agent.\nNote that the server, by default, also runs as an agent.\n",
                 position: (21, 1),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (24, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "server",
                 position: (24, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (25, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (25, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "enum",
                   position: (25, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "server",
                     position: (25, 28),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "agent",
                     position: (25, 37),
                    },
                   ],
                  },
                 ],
                 position: (25, 25),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (19, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "serverAddr",
            position: (28, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (28, 18),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (29, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (29, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (29, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (30, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The k3s server to connect to. This option only makes sense for an agent.",
                 position: (30, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (31, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "https://10.0.0.10:6443",
                 position: (31, 18),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (32, 7),
                },
               ],
              },
              String {
               parts: [],
              },
             ),
            ],
            recursive: false,
            position: (28, 27),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "token",
            position: (35, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (35, 13),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (36, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (36, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (36, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (37, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The k3s token to use when connecting to the server. This option only makes sense for an agent.\nWARNING: This option will expose store your token unencrypted world-readable in the nix store.\nIf this is undesired use the tokenFile option instead.\n",
                 position: (38, 1),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (42, 7),
                },
               ],
              },
              String {
               parts: [],
              },
             ),
            ],
            recursive: false,
            position: (35, 22),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "tokenFile",
            position: (45, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (45, 17),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (46, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (46, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "nullOr",
                   position: (46, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (46, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "path",
                    position: (46, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (47, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "File path containing k3s token to use when connecting to the server. This option only makes sense for an agent.",
                 position: (47, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (48, 7),
                },
               ],
              },
              Variable {
               identifier: "null",
               position: (48, 17),
              },
             ),
            ],
            recursive: false,
            position: (45, 26),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "docker",
            position: (51, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (51, 14),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (52, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (52, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (52, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (53, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (53, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (54, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Use docker to run containers rather than the built-in containerd.",
                 position: (54, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (51, 23),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "extraFlags",
            position: (57, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (57, 18),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (58, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Extra flags to pass to the k3s command.",
                 position: (58, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (59, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (59, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "str",
                  position: (59, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (60, 7),
                },
               ],
              },
              String {
               parts: [],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (61, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "--no-deploy traefik --cluster-cidr 10.24.0.0/16",
                 position: (61, 18),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (57, 27),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "disableAgent",
            position: (64, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (64, 20),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (65, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (65, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (65, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (66, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (66, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (67, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Only run the server. This option only makes sense for a server.",
                 position: (67, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (64, 29),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "configPath",
            position: (70, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (70, 18),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (71, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (71, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "nullOr",
                   position: (71, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (71, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "path",
                    position: (71, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (72, 7),
                },
               ],
              },
              Variable {
               identifier: "null",
               position: (72, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (73, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "File path containing the k3s YAML config. This is useful when the config is generated (for example on boot).",
                 position: (73, 22),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (70, 27),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (9, 26),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (79, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (79, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (79, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (79, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "assertions",
              position: (80, 5),
             },
            ],
           },
           List {
            elements: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "assertion",
                   position: (82, 9),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Implication,
                 operands: [
                  BinaryOperation {
                   operator: EqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (82, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "role",
                        position: (82, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "agent",
                       position: (82, 34),
                      },
                     ],
                    },
                   ],
                   position: (82, 30),
                  },
                  BinaryOperation {
                   operator: LogicalOr,
                   operands: [
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (82, 45),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "configPath",
                          position: (82, 49),
                         },
                        ],
                       },
                       default: None,
                      },
                      Variable {
                       identifier: "null",
                       position: (82, 63),
                      },
                     ],
                     position: (82, 60),
                    },
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (82, 71),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "serverAddr",
                          position: (82, 75),
                         },
                        ],
                       },
                       default: None,
                      },
                      String {
                       parts: [],
                      },
                     ],
                     position: (82, 86),
                    },
                   ],
                   position: (82, 68),
                  },
                 ],
                 position: (82, 41),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "message",
                   position: (83, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "serverAddr or configPath (with 'server' key) should be set if role is 'agent'",
                   position: (83, 20),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (81, 7),
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "assertion",
                   position: (86, 9),
                  },
                 ],
                },
                BinaryOperation {
                 operator: Implication,
                 operands: [
                  BinaryOperation {
                   operator: EqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (86, 21),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "role",
                        position: (86, 25),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "agent",
                       position: (86, 34),
                      },
                     ],
                    },
                   ],
                   position: (86, 30),
                  },
                  BinaryOperation {
                   operator: LogicalOr,
                   operands: [
                    BinaryOperation {
                     operator: LogicalOr,
                     operands: [
                      BinaryOperation {
                       operator: NotEqualTo,
                       operands: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (86, 44),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "configPath",
                            position: (86, 48),
                           },
                          ],
                         },
                         default: None,
                        },
                        Variable {
                         identifier: "null",
                         position: (86, 62),
                        },
                       ],
                       position: (86, 59),
                      },
                      BinaryOperation {
                       operator: NotEqualTo,
                       operands: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "cfg",
                          position: (86, 70),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "tokenFile",
                            position: (86, 74),
                           },
                          ],
                         },
                         default: None,
                        },
                        Variable {
                         identifier: "null",
                         position: (86, 87),
                        },
                       ],
                       position: (86, 84),
                      },
                     ],
                     position: (86, 67),
                    },
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (86, 95),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "token",
                          position: (86, 99),
                         },
                        ],
                       },
                       default: None,
                      },
                      String {
                       parts: [],
                      },
                     ],
                     position: (86, 105),
                    },
                   ],
                   position: (86, 92),
                  },
                 ],
                 position: (86, 41),
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "message",
                   position: (87, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "token or tokenFile or configPath (with 'token' or 'token-file' keys) should be set if role is 'agent'",
                   position: (87, 20),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (85, 7),
             },
            ],
            position: (80, 18),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "virtualisation",
              position: (91, 5),
             },
             Raw {
              content: "docker",
              position: (91, 20),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (91, 29),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (91, 34),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "docker",
                 position: (91, 38),
                },
               ],
              },
              default: None,
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "enable",
                   position: (92, 7),
                  },
                 ],
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "mkDefault",
                  position: (92, 16),
                 },
                 arguments: [
                  Variable {
                   identifier: "true",
                   position: (92, 26),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (91, 45),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (97, 5),
             },
             Raw {
              content: "enableUnifiedCgroupHierarchy",
              position: (97, 13),
             },
            ],
           },
           Variable {
            identifier: "false",
            position: (97, 44),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (99, 5),
             },
             Raw {
              content: "systemPackages",
              position: (99, 17),
             },
            ],
           },
           List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (99, 36),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "services",
                 position: (99, 43),
                },
                Raw {
                 content: "k3s",
                 position: (99, 52),
                },
                Raw {
                 content: "package",
                 position: (99, 56),
                },
               ],
              },
              default: None,
             },
            ],
            position: (99, 34),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (101, 5),
             },
             Raw {
              content: "services",
              position: (101, 13),
             },
             Raw {
              content: "k3s",
              position: (101, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (102, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "k3s service",
                 position: (102, 22),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (103, 7),
                },
               ],
              },
              BinaryOperation {
               operator: Concatenation,
               operands: [
                List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "network.service",
                     position: (103, 18),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "firewall.service",
                     position: (103, 36),
                    },
                   ],
                  },
                 ],
                 position: (103, 15),
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "optional",
                  position: (103, 60),
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (103, 69),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "docker",
                      position: (103, 73),
                     },
                    ],
                   },
                   default: None,
                  },
                  String {
                   parts: [
                    Raw {
                     content: "docker.service",
                     position: (103, 81),
                    },
                   ],
                  },
                 ],
                },
               ],
               position: (103, 56),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wants",
                 position: (104, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.service",
                   position: (104, 18),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "firewall.service",
                   position: (104, 36),
                  },
                 ],
                },
               ],
               position: (104, 15),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (105, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (105, 21),
                  },
                 ],
                },
               ],
               position: (105, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "path",
                 position: (106, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "optional",
                position: (106, 14),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (106, 23),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "boot",
                    position: (106, 30),
                   },
                   Raw {
                    content: "zfs",
                    position: (106, 35),
                   },
                   Raw {
                    content: "enabled",
                    position: (106, 39),
                   },
                  ],
                 },
                 default: None,
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (106, 47),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "boot",
                    position: (106, 54),
                   },
                   Raw {
                    content: "zfs",
                    position: (106, 59),
                   },
                   Raw {
                    content: "package",
                    position: (106, 63),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (107, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Type",
                    position: (109, 9),
                   },
                  ],
                 },
                 IfThenElse {
                  predicate: BinaryOperation {
                   operator: EqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (109, 19),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "role",
                        position: (109, 23),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "agent",
                       position: (109, 32),
                      },
                     ],
                    },
                   ],
                   position: (109, 28),
                  },
                  then: String {
                   parts: [
                    Raw {
                     content: "exec",
                     position: (109, 45),
                    },
                   ],
                  },
                  else_: String {
                   parts: [
                    Raw {
                     content: "notify",
                     position: (109, 57),
                    },
                   ],
                  },
                  position: (109, 16),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "KillMode",
                    position: (110, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "process",
                    position: (110, 21),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Delegate",
                    position: (111, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "yes",
                    position: (111, 21),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (112, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "always",
                    position: (112, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "RestartSec",
                    position: (113, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "5s",
                    position: (113, 23),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "LimitNOFILE",
                    position: (114, 9),
                   },
                  ],
                 },
                 Int {
                  value: 1048576,
                  position: (114, 23),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "LimitNPROC",
                    position: (115, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "infinity",
                    position: (115, 23),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "LimitCORE",
                    position: (116, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "infinity",
                    position: (116, 22),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "TasksMax",
                    position: (117, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "infinity",
                    position: (117, 21),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (118, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "concatStringsSep",
                   position: (118, 21),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: " \\\n ",
                      position: (118, 39),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     List {
                      elements: [
                       String {
                        parts: [
                         Expression {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (120, 16),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "package",
                              position: (120, 20),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                         Raw {
                          content: "/bin/k3s ",
                          position: (120, 28),
                         },
                         Expression {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "cfg",
                            position: (120, 39),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "role",
                              position: (120, 43),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                        ],
                       },
                      ],
                      position: (119, 11),
                     },
                     BinaryOperation {
                      operator: Concatenation,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "optional",
                         position: (121, 17),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (121, 26),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "docker",
                             position: (121, 30),
                            },
                           ],
                          },
                          default: None,
                         },
                         String {
                          parts: [
                           Raw {
                            content: "--docker",
                            position: (121, 38),
                           },
                          ],
                         },
                        ],
                       },
                       BinaryOperation {
                        operator: Concatenation,
                        operands: [
                         FunctionApplication {
                          function: Variable {
                           identifier: "optional",
                           position: (122, 15),
                          },
                          arguments: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (122, 24),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "disableAgent",
                               position: (122, 28),
                              },
                             ],
                            },
                            default: None,
                           },
                           String {
                            parts: [
                             Raw {
                              content: "--disable-agent",
                              position: (122, 42),
                             },
                            ],
                           },
                          ],
                         },
                         BinaryOperation {
                          operator: Concatenation,
                          operands: [
                           FunctionApplication {
                            function: Variable {
                             identifier: "optional",
                             position: (123, 15),
                            },
                            arguments: [
                             BinaryOperation {
                              operator: NotEqualTo,
                              operands: [
                               PropertyAccess {
                                expression: Variable {
                                 identifier: "cfg",
                                 position: (123, 25),
                                },
                                attribute_path: AttributePath {
                                 attributes: [
                                  Raw {
                                   content: "serverAddr",
                                   position: (123, 29),
                                  },
                                 ],
                                },
                                default: None,
                               },
                               String {
                                parts: [],
                               },
                              ],
                              position: (123, 40),
                             },
                             String {
                              parts: [
                               Raw {
                                content: "--server ",
                                position: (123, 48),
                               },
                               Expression {
                                expression: PropertyAccess {
                                 expression: Variable {
                                  identifier: "cfg",
                                  position: (123, 59),
                                 },
                                 attribute_path: AttributePath {
                                  attributes: [
                                   Raw {
                                    content: "serverAddr",
                                    position: (123, 63),
                                   },
                                  ],
                                 },
                                 default: None,
                                },
                               },
                              ],
                             },
                            ],
                           },
                           BinaryOperation {
                            operator: Concatenation,
                            operands: [
                             FunctionApplication {
                              function: Variable {
                               identifier: "optional",
                               position: (124, 15),
                              },
                              arguments: [
                               BinaryOperation {
                                operator: NotEqualTo,
                                operands: [
                                 PropertyAccess {
                                  expression: Variable {
                                   identifier: "cfg",
                                   position: (124, 25),
                                  },
                                  attribute_path: AttributePath {
                                   attributes: [
                                    Raw {
                                     content: "token",
                                     position: (124, 29),
                                    },
                                   ],
                                  },
                                  default: None,
                                 },
                                 String {
                                  parts: [],
                                 },
                                ],
                                position: (124, 35),
                               },
                               String {
                                parts: [
                                 Raw {
                                  content: "--token ",
                                  position: (124, 43),
                                 },
                                 Expression {
                                  expression: PropertyAccess {
                                   expression: Variable {
                                    identifier: "cfg",
                                    position: (124, 53),
                                   },
                                   attribute_path: AttributePath {
                                    attributes: [
                                     Raw {
                                      content: "token",
                                      position: (124, 57),
                                     },
                                    ],
                                   },
                                   default: None,
                                  },
                                 },
                                ],
                               },
                              ],
                             },
                             BinaryOperation {
                              operator: Concatenation,
                              operands: [
                               FunctionApplication {
                                function: Variable {
                                 identifier: "optional",
                                 position: (125, 15),
                                },
                                arguments: [
                                 BinaryOperation {
                                  operator: NotEqualTo,
                                  operands: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "cfg",
                                     position: (125, 25),
                                    },
                                    attribute_path: AttributePath {
                                     attributes: [
                                      Raw {
                                       content: "tokenFile",
                                       position: (125, 29),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                   Variable {
                                    identifier: "null",
                                    position: (125, 42),
                                   },
                                  ],
                                  position: (125, 39),
                                 },
                                 String {
                                  parts: [
                                   Raw {
                                    content: "--token-file ",
                                    position: (125, 49),
                                   },
                                   Expression {
                                    expression: PropertyAccess {
                                     expression: Variable {
                                      identifier: "cfg",
                                      position: (125, 64),
                                     },
                                     attribute_path: AttributePath {
                                      attributes: [
                                       Raw {
                                        content: "tokenFile",
                                        position: (125, 68),
                                       },
                                      ],
                                     },
                                     default: None,
                                    },
                                   },
                                  ],
                                 },
                                ],
                               },
                               BinaryOperation {
                                operator: Concatenation,
                                operands: [
                                 FunctionApplication {
                                  function: Variable {
                                   identifier: "optional",
                                   position: (126, 15),
                                  },
                                  arguments: [
                                   BinaryOperation {
                                    operator: NotEqualTo,
                                    operands: [
                                     PropertyAccess {
                                      expression: Variable {
                                       identifier: "cfg",
                                       position: (126, 25),
                                      },
                                      attribute_path: AttributePath {
                                       attributes: [
                                        Raw {
                                         content: "configPath",
                                         position: (126, 29),
                                        },
                                       ],
                                      },
                                      default: None,
                                     },
                                     Variable {
                                      identifier: "null",
                                      position: (126, 43),
                                     },
                                    ],
                                    position: (126, 40),
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: "--config ",
                                      position: (126, 50),
                                     },
                                     Expression {
                                      expression: PropertyAccess {
                                       expression: Variable {
                                        identifier: "cfg",
                                        position: (126, 61),
                                       },
                                       attribute_path: AttributePath {
                                        attributes: [
                                         Raw {
                                          content: "configPath",
                                          position: (126, 65),
                                         },
                                        ],
                                       },
                                       default: None,
                                      },
                                     },
                                    ],
                                   },
                                  ],
                                 },
                                 List {
                                  elements: [
                                   PropertyAccess {
                                    expression: Variable {
                                     identifier: "cfg",
                                     position: (127, 16),
                                    },
                                    attribute_path: AttributePath {
                                     attributes: [
                                      Raw {
                                       content: "extraFlags",
                                       position: (127, 20),
                                      },
                                     ],
                                    },
                                    default: None,
                                   },
                                  ],
                                  position: (127, 14),
                                 },
                                ],
                                position: (127, 11),
                               },
                              ],
                              position: (126, 11),
                             },
                            ],
                            position: (125, 11),
                           },
                          ],
                          position: (124, 11),
                         },
                        ],
                        position: (123, 11),
                       },
                      ],
                      position: (122, 11),
                     },
                    ],
                    position: (121, 13),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (107, 23),
              },
             ),
            ],
            recursive: false,
            position: (101, 28),
           },
          ),
         ],
         recursive: false,
         position: (79, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (7, 1),
   },
   position: (4, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}