Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 16, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "das_watchdog", span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 9, column: 30, }, }, }, ), ], span: Span { start: Position { line: 7, column: 4, }, end: Position { line: 9, column: 31, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 13, }, }, }, ), Raw( PartRaw { content: "das_watchdog", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 26, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 15, column: 27, }, end: Position { line: 15, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 15, column: 36, }, end: Position { line: 15, column: 50, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 52, }, end: Position { line: 15, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 56, }, end: Position { line: 15, column: 61, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "realtime watchdog", span: Span { start: Position { line: 15, column: 63, }, end: Position { line: 15, column: 80, }, }, }, ), ], span: Span { start: Position { line: 15, column: 62, }, end: Position { line: 15, column: 81, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 16, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 20, column: 12, }, end: Position { line: 20, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 20, column: 24, }, end: Position { line: 20, column: 32, }, }, }, ), Raw( PartRaw { content: "das_watchdog", span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 20, column: 45, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 20, column: 46, }, end: Position { line: 20, column: 52, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "das_watchdog", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 48, }, }, }, ), ], span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 22, column: 21, }, }, }, ), Raw( PartRaw { content: "das_watchdog", span: Span { start: Position { line: 22, column: 22, }, end: Position { line: 22, column: 34, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Watchdog to ensure a realtime process won't hang the machine", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 82, }, }, }, ), ], span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 24, column: 35, }, }, }, ), ], span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 24, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "sound.target", span: Span { start: Position { line: 24, column: 38, }, end: Position { line: 24, column: 50, }, }, }, ), ], span: Span { start: Position { line: 24, column: 37, }, end: Position { line: 24, column: 51, }, }, }, ), ], span: Span { start: Position { line: 24, column: 15, }, end: Position { line: 24, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 38, }, }, }, ), ], span: Span { start: Position { line: 25, column: 20, }, end: Position { line: 25, column: 39, }, }, }, ), ], span: Span { start: Position { line: 25, column: 18, }, end: Position { line: 25, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 21, }, }, }, ), ], span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 23, }, }, }, ), ], span: Span { start: Position { line: 28, column: 16, }, end: Position { line: 28, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 29, column: 9, }, end: Position { line: 29, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "das_watchdog", span: Span { start: Position { line: 29, column: 24, }, end: Position { line: 29, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/das_watchdog", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 54, }, }, }, ), ], span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 30, column: 27, }, end: Position { line: 30, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 31, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 22, column: 37, }, end: Position { line: 32, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 53, }, end: Position { line: 33, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 4, }, end: Position { line: 34, column: 2, }, }, }, ), span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 34, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 34, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 34, column: 2, }, }, }, )