---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (5, 6),
  },
  target: LetIn {
   bindings: [
    Inherit {
     from: Some(
      Variable {
       identifier: "pkgs",
       position: (9, 12),
      },
     ),
     attributes: [
      Raw {
       content: "das_watchdog",
       position: (9, 18),
      },
     ],
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (14, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (15, 5),
           },
           Raw {
            content: "das_watchdog",
            position: (15, 14),
           },
           Raw {
            content: "enable",
            position: (15, 27),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (15, 36),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "realtime watchdog",
              position: (15, 52),
             },
            ],
            position: (15, 51),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (14, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (20, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (20, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "config",
          position: (20, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (20, 24),
           },
           Raw {
            content: "das_watchdog",
            position: (20, 33),
           },
           Raw {
            content: "enable",
            position: (20, 46),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (21, 5),
             },
             Raw {
              content: "systemPackages",
              position: (21, 17),
             },
            ],
           },
           to: List {
            elements: [
             Variable {
              identifier: "das_watchdog",
              position: (21, 36),
             },
            ],
            position: (21, 34),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (22, 5),
             },
             Raw {
              content: "services",
              position: (22, 13),
             },
             Raw {
              content: "das_watchdog",
              position: (22, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (23, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Watchdog to ensure a realtime process won't hang the machine",
                 position: (23, 22),
                },
               ],
               position: (23, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "after",
                 position: (24, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (24, 18),
                  },
                 ],
                 position: (24, 17),
                },
                String {
                 parts: [
                  Raw {
                   content: "sound.target",
                   position: (24, 38),
                  },
                 ],
                 position: (24, 37),
                },
               ],
               position: (24, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (25, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (25, 21),
                  },
                 ],
                 position: (25, 20),
                },
               ],
               position: (25, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (26, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "User",
                    position: (27, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "root",
                    position: (27, 17),
                   },
                  ],
                  position: (27, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "Type",
                    position: (28, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "simple",
                    position: (28, 17),
                   },
                  ],
                  position: (28, 16),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (29, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Interpolation {
                    expression: Variable {
                     identifier: "das_watchdog",
                     position: (29, 24),
                    },
                   },
                   Raw {
                    content: "/bin/das_watchdog",
                    position: (29, 37),
                   },
                  ],
                  position: (29, 21),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "RemainAfterExit",
                    position: (30, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (30, 27),
                 },
                },
               ],
               recursive: false,
               position: (26, 23),
              },
             },
            ],
            recursive: false,
            position: (22, 37),
           },
          },
         ],
         recursive: false,
         position: (20, 53),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (11, 4),
   },
   position: (7, 1),
  },
  position: (5, 1),
 },
 position: (3, 1),
}