---
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: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (7, 5),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (7, 11),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "programs",
         position: (7, 18),
        },
        Raw {
         content: "atop",
         position: (7, 27),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (13, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "programs",
            position: (15, 5),
           },
           Raw {
            content: "atop",
            position: (15, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (17, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (17, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Atop",
                 position: (17, 32),
                },
               ],
               position: (17, 31),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "package",
               position: (19, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (19, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (20, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (20, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "package",
                     position: (20, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (21, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (21, 19),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "atop",
                     position: (21, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (22, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (22, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.atop",
                      position: (22, 42),
                     },
                    ],
                    position: (22, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (23, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Which package to use for Atop.\n",
                    position: (24, 1),
                   },
                  ],
                  position: (23, 23),
                 },
                },
               ],
               recursive: false,
               position: (19, 26),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "netatop",
               position: (28, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "enable",
                  position: (29, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (29, 18),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (30, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (30, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "bool",
                        position: (30, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (31, 11),
                      },
                     ],
                    },
                    to: Variable {
                     identifier: "false",
                     position: (31, 21),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (32, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Whether to install and enable the netatop kernel module.\nNote: this sets the kernel taint flag \"O\" for loading out-of-tree modules.\n",
                       position: (33, 1),
                      },
                     ],
                     position: (32, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (29, 27),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "package",
                  position: (37, 9),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (37, 19),
                },
                arguments: [
                 Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "type",
                       position: (38, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (38, 18),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "package",
                        position: (38, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "default",
                       position: (39, 11),
                      },
                     ],
                    },
                    to: PropertyAccess {
                     expression: Variable {
                      identifier: "config",
                      position: (39, 21),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "boot",
                        position: (39, 28),
                       },
                       Raw {
                        content: "kernelPackages",
                        position: (39, 33),
                       },
                       Raw {
                        content: "netatop",
                        position: (39, 48),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "defaultText",
                       position: (40, 11),
                      },
                     ],
                    },
                    to: FunctionApplication {
                     function: Variable {
                      identifier: "literalExpression",
                      position: (40, 25),
                     },
                     arguments: [
                      String {
                       parts: [
                        Raw {
                         content: "config.boot.kernelPackages.netatop",
                         position: (40, 44),
                        },
                       ],
                       position: (40, 43),
                      },
                     ],
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "description",
                       position: (41, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "Which package to use for netatop.\n",
                       position: (42, 1),
                      },
                     ],
                     position: (41, 25),
                    },
                   },
                  ],
                  recursive: false,
                  position: (37, 28),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (28, 17),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "atopgpu",
               position: (47, 7),
              },
              Raw {
               content: "enable",
               position: (47, 15),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (47, 24),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (48, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (48, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (48, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (49, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (49, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (50, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to install and enable the atopgpud daemon to get information about\nNVIDIA gpus.\n",
                    position: (51, 1),
                   },
                  ],
                  position: (50, 23),
                 },
                },
               ],
               recursive: false,
               position: (47, 33),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "setuidWrapper",
               position: (56, 7),
              },
              Raw {
               content: "enable",
               position: (56, 21),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (56, 30),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (57, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (57, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (57, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (58, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "false",
                  position: (58, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (59, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to install a setuid wrapper for Atop. This is required to use some of\nthe features as non-root user (e.g.: ipc information, netatop, atopgpu).\nAtop tries to drop the root privileges shortly after starting.\n",
                    position: (60, 1),
                   },
                  ],
                  position: (59, 23),
                 },
                },
               ],
               recursive: false,
               position: (56, 39),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "atopService",
               position: (66, 7),
              },
              Raw {
               content: "enable",
               position: (66, 19),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (66, 28),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (67, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (67, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (67, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (68, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (68, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (69, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to enable the atop service responsible for storing statistics for\nlong-term analysis.\n",
                    position: (70, 1),
                   },
                  ],
                  position: (69, 23),
                 },
                },
               ],
               recursive: false,
               position: (66, 37),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "atopRotateTimer",
               position: (74, 7),
              },
              Raw {
               content: "enable",
               position: (74, 23),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (74, 32),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (75, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (75, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (75, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (76, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (76, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (77, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to enable the atop-rotate timer, which restarts the atop service\ndaily to make sure the data files are rotate.\n",
                    position: (78, 1),
                   },
                  ],
                  position: (77, 23),
                 },
                },
               ],
               recursive: false,
               position: (74, 41),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "atopacctService",
               position: (82, 7),
              },
              Raw {
               content: "enable",
               position: (82, 23),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (82, 32),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (83, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (83, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "bool",
                     position: (83, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (84, 9),
                   },
                  ],
                 },
                 to: Variable {
                  identifier: "true",
                  position: (84, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (85, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Whether to enable the atopacct service which manages process accounting.\nThis allows Atop to gather data about processes that disappeared in between\ntwo refresh intervals.\n",
                    position: (86, 1),
                   },
                  ],
                  position: (85, 23),
                 },
                },
               ],
               recursive: false,
               position: (82, 41),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "settings",
               position: (91, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (91, 18),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (92, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (92, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "attrs",
                     position: (92, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (93, 9),
                   },
                  ],
                 },
                 to: Map {
                  bindings: [],
                  recursive: false,
                  position: (93, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "example",
                    position: (94, 9),
                   },
                  ],
                 },
                 to: Map {
                  bindings: [
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "flags",
                       position: (95, 11),
                      },
                     ],
                    },
                    to: String {
                     parts: [
                      Raw {
                       content: "a1f",
                       position: (95, 20),
                      },
                     ],
                     position: (95, 19),
                    },
                   },
                   Binding {
                    from: AttributePath {
                     parts: [
                      Raw {
                       content: "interval",
                       position: (96, 11),
                      },
                     ],
                    },
                    to: Int {
                     value: 5,
                     position: (96, 22),
                    },
                   },
                  ],
                  recursive: false,
                  position: (94, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (98, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Parameters to be written to <filename>/etc/atoprc</filename>.\n",
                    position: (99, 1),
                   },
                  ],
                  position: (98, 23),
                 },
                },
               ],
               recursive: false,
               position: (91, 27),
              },
             ],
            },
           },
          ],
          recursive: true,
          position: (15, 21),
         },
        },
       ],
       recursive: false,
       position: (13, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (105, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (105, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (105, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (105, 21),
           },
          ],
         },
         default: None,
        },
        Parentheses {
         expression: LetIn {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "atop",
               position: (107, 7),
              },
             ],
            },
            to: IfThenElse {
             predicate: PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (108, 12),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "atopgpu",
                 position: (108, 16),
                },
                Raw {
                 content: "enable",
                 position: (108, 24),
                },
               ],
              },
              default: None,
             },
             then: Parentheses {
              expression: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (109, 12),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "package",
                   position: (109, 16),
                  },
                  Raw {
                   content: "override",
                   position: (109, 24),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "withAtopgpu",
                      position: (109, 35),
                     },
                    ],
                   },
                   to: Variable {
                    identifier: "true",
                    position: (109, 49),
                   },
                  },
                 ],
                 recursive: false,
                 position: (109, 33),
                },
               ],
              },
              position: (109, 11),
             },
             else_: PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (111, 11),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "package",
                 position: (111, 15),
                },
               ],
              },
              default: None,
             },
             position: (108, 9),
            },
           },
          ],
          target: Map {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "environment",
                position: (114, 7),
               },
               Raw {
                content: "etc",
                position: (114, 19),
               },
              ],
             },
             to: FunctionApplication {
              function: Variable {
               identifier: "mkIf",
               position: (114, 25),
              },
              arguments: [
               Parentheses {
                expression: BinaryOperation {
                 operator: NotEqualTo,
                 operands: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (114, 31),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "settings",
                      position: (114, 35),
                     },
                    ],
                   },
                   default: None,
                  },
                  Map {
                   bindings: [],
                   recursive: false,
                   position: (114, 47),
                  },
                 ],
                 position: (114, 44),
                },
                position: (114, 30),
               },
               Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "atoprc",
                     position: (115, 9),
                    },
                    Raw {
                     content: "text",
                     position: (115, 16),
                    },
                   ],
                  },
                  to: FunctionApplication {
                   function: Variable {
                    identifier: "concatStrings",
                    position: (115, 23),
                   },
                   arguments: [
                    Parentheses {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "mapAttrsToList",
                       position: (116, 12),
                      },
                      arguments: [
                       Parentheses {
                        expression: Function {
                         argument: Simple {
                          identifier: "n",
                         },
                         definition: Function {
                          argument: Simple {
                           identifier: "v",
                          },
                          definition: String {
                           parts: [
                            Raw {
                             content: "",
                             position: (118, 1),
                            },
                            Expression {
                             expression: Variable {
                              identifier: "n",
                              position: (118, 17),
                             },
                            },
                            Raw {
                             content: " ",
                             position: (118, 19),
                            },
                            Expression {
                             expression: FunctionApplication {
                              function: Variable {
                               identifier: "toString",
                               position: (118, 22),
                              },
                              arguments: [
                               Variable {
                                identifier: "v",
                                position: (118, 31),
                               },
                              ],
                             },
                            },
                            Raw {
                             content: "\n",
                             position: (118, 33),
                            },
                           ],
                           position: (117, 20),
                          },
                          position: (117, 17),
                         },
                         position: (117, 14),
                        },
                        position: (117, 13),
                       },
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (120, 13),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "settings",
                           position: (120, 17),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                     position: (116, 11),
                    },
                   ],
                  },
                 },
                ],
                recursive: false,
                position: (114, 52),
               },
              ],
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "environment",
                position: (122, 7),
               },
               Raw {
                content: "systemPackages",
                position: (122, 19),
               },
              ],
             },
             to: List {
              elements: [
               Variable {
                identifier: "atop",
                position: (122, 38),
               },
               Parentheses {
                expression: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (122, 44),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "mkIf",
                     position: (122, 48),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (122, 53),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "netatop",
                      position: (122, 57),
                     },
                     Raw {
                      content: "enable",
                      position: (122, 65),
                     },
                    ],
                   },
                   default: None,
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (122, 72),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "netatop",
                      position: (122, 76),
                     },
                     Raw {
                      content: "package",
                      position: (122, 84),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
                position: (122, 43),
               },
              ],
              position: (122, 36),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "boot",
                position: (123, 7),
               },
               Raw {
                content: "extraModulePackages",
                position: (123, 12),
               },
              ],
             },
             to: List {
              elements: [
               Parentheses {
                expression: FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (123, 37),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "mkIf",
                     position: (123, 41),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (123, 46),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "netatop",
                      position: (123, 50),
                     },
                     Raw {
                      content: "enable",
                      position: (123, 58),
                     },
                    ],
                   },
                   default: None,
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (123, 65),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "netatop",
                      position: (123, 69),
                     },
                     Raw {
                      content: "package",
                      position: (123, 77),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
                position: (123, 36),
               },
              ],
              position: (123, 34),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "systemd",
                position: (124, 7),
               },
              ],
             },
             to: LetIn {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "mkSystemd",
                   position: (126, 11),
                  },
                 ],
                },
                to: Function {
                 argument: Simple {
                  identifier: "type",
                 },
                 definition: Function {
                  argument: Simple {
                   identifier: "cond",
                  },
                  definition: Function {
                   argument: Simple {
                    identifier: "name",
                   },
                   definition: Function {
                    argument: Simple {
                     identifier: "restartTriggers",
                    },
                    definition: Map {
                     bindings: [
                      Binding {
                       from: AttributePath {
                        parts: [
                         Expression {
                          expression: Variable {
                           identifier: "name",
                           position: (127, 15),
                          },
                         },
                        ],
                       },
                       to: FunctionApplication {
                        function: PropertyAccess {
                         expression: Variable {
                          identifier: "lib",
                          position: (127, 23),
                         },
                         attribute_path: AttributePath {
                          parts: [
                           Raw {
                            content: "mkIf",
                            position: (127, 27),
                           },
                          ],
                         },
                         default: None,
                        },
                        arguments: [
                         Variable {
                          identifier: "cond",
                          position: (127, 32),
                         },
                         Map {
                          bindings: [
                           Inherit {
                            from: None,
                            attributes: [
                             Raw {
                              content: "restartTriggers",
                              position: (128, 23),
                             },
                            ],
                           },
                           Binding {
                            from: AttributePath {
                             parts: [
                              Raw {
                               content: "wantedBy",
                               position: (129, 15),
                              },
                             ],
                            },
                            to: List {
                             elements: [
                              Parentheses {
                               expression: IfThenElse {
                                predicate: BinaryOperation {
                                 operator: EqualTo,
                                 operands: [
                                  Variable {
                                   identifier: "type",
                                   position: (129, 32),
                                  },
                                  String {
                                   parts: [
                                    Raw {
                                     content: "services",
                                     position: (129, 41),
                                    },
                                   ],
                                   position: (129, 40),
                                  },
                                 ],
                                 position: (129, 37),
                                },
                                then: String {
                                 parts: [
                                  Raw {
                                   content: "multi-user.target",
                                   position: (129, 57),
                                  },
                                 ],
                                 position: (129, 56),
                                },
                                else_: IfThenElse {
                                 predicate: BinaryOperation {
                                  operator: EqualTo,
                                  operands: [
                                   Variable {
                                    identifier: "type",
                                    position: (129, 84),
                                   },
                                   String {
                                    parts: [
                                     Raw {
                                      content: "timers",
                                      position: (129, 93),
                                     },
                                    ],
                                    position: (129, 92),
                                   },
                                  ],
                                  position: (129, 89),
                                 },
                                 then: String {
                                  parts: [
                                   Raw {
                                    content: "timers.target",
                                    position: (129, 107),
                                   },
                                  ],
                                  position: (129, 106),
                                 },
                                 else_: Variable {
                                  identifier: "null",
                                  position: (129, 127),
                                 },
                                 position: (129, 81),
                                },
                                position: (129, 29),
                               },
                               position: (129, 28),
                              },
                             ],
                             position: (129, 26),
                            },
                           },
                          ],
                          recursive: false,
                          position: (127, 37),
                         },
                        ],
                       },
                      },
                     ],
                     recursive: false,
                     position: (126, 58),
                    },
                    position: (126, 41),
                   },
                   position: (126, 35),
                  },
                  position: (126, 29),
                 },
                 position: (126, 23),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "mkService",
                   position: (132, 11),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "mkSystemd",
                  position: (132, 23),
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "services",
                     position: (132, 34),
                    },
                   ],
                   position: (132, 33),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "mkTimer",
                   position: (133, 11),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "mkSystemd",
                  position: (133, 21),
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "timers",
                     position: (133, 32),
                    },
                   ],
                   position: (133, 31),
                  },
                 ],
                },
               },
              ],
              target: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "packages",
                    position: (136, 11),
                   },
                  ],
                 },
                 to: List {
                  elements: [
                   Variable {
                    identifier: "atop",
                    position: (136, 24),
                   },
                   Parentheses {
                    expression: FunctionApplication {
                     function: PropertyAccess {
                      expression: Variable {
                       identifier: "lib",
                       position: (136, 30),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "mkIf",
                         position: (136, 34),
                        },
                       ],
                      },
                      default: None,
                     },
                     arguments: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (136, 39),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "netatop",
                          position: (136, 43),
                         },
                         Raw {
                          content: "enable",
                          position: (136, 51),
                         },
                        ],
                       },
                       default: None,
                      },
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (136, 58),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "netatop",
                          position: (136, 62),
                         },
                         Raw {
                          content: "package",
                          position: (136, 70),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                    position: (136, 29),
                   },
                  ],
                  position: (136, 22),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "services",
                    position: (137, 11),
                   },
                  ],
                 },
                 to: BinaryOperation {
                  operator: Update,
                  operands: [
                   FunctionApplication {
                    function: Variable {
                     identifier: "mkService",
                     position: (138, 13),
                    },
                    arguments: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (138, 23),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "atopService",
                         position: (138, 27),
                        },
                        Raw {
                         content: "enable",
                         position: (138, 39),
                        },
                       ],
                      },
                      default: None,
                     },
                     String {
                      parts: [
                       Raw {
                        content: "atop",
                        position: (138, 47),
                       },
                      ],
                      position: (138, 46),
                     },
                     List {
                      elements: [
                       Variable {
                        identifier: "atop",
                        position: (138, 55),
                       },
                      ],
                      position: (138, 53),
                     },
                    ],
                   },
                   BinaryOperation {
                    operator: Update,
                    operands: [
                     FunctionApplication {
                      function: Variable {
                       identifier: "mkService",
                       position: (139, 16),
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (139, 26),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "atopacctService",
                           position: (139, 30),
                          },
                          Raw {
                           content: "enable",
                           position: (139, 46),
                          },
                         ],
                        },
                        default: None,
                       },
                       String {
                        parts: [
                         Raw {
                          content: "atopacct",
                          position: (139, 54),
                         },
                        ],
                        position: (139, 53),
                       },
                       List {
                        elements: [
                         Variable {
                          identifier: "atop",
                          position: (139, 66),
                         },
                        ],
                        position: (139, 64),
                       },
                      ],
                     },
                     BinaryOperation {
                      operator: Update,
                      operands: [
                       FunctionApplication {
                        function: Variable {
                         identifier: "mkService",
                         position: (140, 16),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (140, 26),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "netatop",
                             position: (140, 30),
                            },
                            Raw {
                             content: "enable",
                             position: (140, 38),
                            },
                           ],
                          },
                          default: None,
                         },
                         String {
                          parts: [
                           Raw {
                            content: "netatop",
                            position: (140, 46),
                           },
                          ],
                          position: (140, 45),
                         },
                         List {
                          elements: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (140, 57),
                            },
                            attribute_path: AttributePath {
                             parts: [
                              Raw {
                               content: "netatop",
                               position: (140, 61),
                              },
                              Raw {
                               content: "package",
                               position: (140, 69),
                              },
                             ],
                            },
                            default: None,
                           },
                          ],
                          position: (140, 55),
                         },
                        ],
                       },
                       FunctionApplication {
                        function: Variable {
                         identifier: "mkService",
                         position: (141, 16),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (141, 26),
                          },
                          attribute_path: AttributePath {
                           parts: [
                            Raw {
                             content: "atopgpu",
                             position: (141, 30),
                            },
                            Raw {
                             content: "enable",
                             position: (141, 38),
                            },
                           ],
                          },
                          default: None,
                         },
                         String {
                          parts: [
                           Raw {
                            content: "atopgpu",
                            position: (141, 46),
                           },
                          ],
                          position: (141, 45),
                         },
                         List {
                          elements: [
                           Variable {
                            identifier: "atop",
                            position: (141, 57),
                           },
                          ],
                          position: (141, 55),
                         },
                        ],
                       },
                      ],
                      position: (141, 13),
                     },
                    ],
                    position: (140, 13),
                   },
                  ],
                  position: (139, 13),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "timers",
                    position: (142, 11),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "mkTimer",
                   position: (142, 20),
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "cfg",
                     position: (142, 28),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "atopRotateTimer",
                       position: (142, 32),
                      },
                      Raw {
                       content: "enable",
                       position: (142, 48),
                      },
                     ],
                    },
                    default: None,
                   },
                   String {
                    parts: [
                     Raw {
                      content: "atop-rotate",
                      position: (142, 56),
                     },
                    ],
                    position: (142, 55),
                   },
                   List {
                    elements: [
                     Variable {
                      identifier: "atop",
                      position: (142, 71),
                     },
                    ],
                    position: (142, 69),
                   },
                  ],
                 },
                },
               ],
               recursive: false,
               position: (135, 9),
              },
              position: (125, 9),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "security",
                position: (145, 7),
               },
               Raw {
                content: "wrappers",
                position: (145, 16),
               },
              ],
             },
             to: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (145, 27),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "mkIf",
                  position: (145, 31),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (145, 36),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "setuidWrapper",
                   position: (145, 40),
                  },
                  Raw {
                   content: "enable",
                   position: (145, 54),
                  },
                 ],
                },
                default: None,
               },
               Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "atop",
                     position: (146, 9),
                    },
                   ],
                  },
                  to: Map {
                   bindings: [
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "setuid",
                        position: (147, 13),
                       },
                      ],
                     },
                     to: Variable {
                      identifier: "true",
                      position: (147, 22),
                     },
                    },
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "owner",
                        position: (148, 13),
                       },
                      ],
                     },
                     to: String {
                      parts: [
                       Raw {
                        content: "root",
                        position: (148, 22),
                       },
                      ],
                      position: (148, 21),
                     },
                    },
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "group",
                        position: (149, 13),
                       },
                      ],
                     },
                     to: String {
                      parts: [
                       Raw {
                        content: "root",
                        position: (149, 22),
                       },
                      ],
                      position: (149, 21),
                     },
                    },
                    Binding {
                     from: AttributePath {
                      parts: [
                       Raw {
                        content: "source",
                        position: (150, 13),
                       },
                      ],
                     },
                     to: String {
                      parts: [
                       Expression {
                        expression: Variable {
                         identifier: "atop",
                         position: (150, 25),
                        },
                       },
                       Raw {
                        content: "/bin/atop",
                        position: (150, 30),
                       },
                      ],
                      position: (150, 22),
                     },
                    },
                   ],
                   recursive: false,
                   position: (147, 11),
                  },
                 },
                ],
                recursive: false,
                position: (145, 61),
               },
              ],
             },
            },
           ],
           recursive: false,
           position: (113, 5),
          },
          position: (106, 5),
         },
         position: (105, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (10, 1),
   },
   position: (7, 1),
  },
  position: (5, 1),
 },
 position: (3, 1),
}