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: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 7, column: 17, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "displaylink", span: Span { start: Position { line: 7, column: 19, }, end: Position { line: 7, column: 30, }, }, }, ), ], span: Span { start: Position { line: 7, column: 18, }, end: Position { line: 7, column: 31, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 32, }, end: Position { line: 7, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 39, }, end: Position { line: 7, column: 47, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 7, column: 48, }, end: Position { line: 7, column: 55, }, }, }, ), Raw( PartRaw { content: "videoDrivers", span: Span { start: Position { line: 7, column: 56, }, end: Position { line: 7, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "evdi", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 21, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 36, }, }, }, ), Raw( PartRaw { content: "evdi", span: Span { start: Position { line: 9, column: 37, }, end: Position { line: 9, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "displaylink", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "displaylink", span: Span { start: Position { line: 11, column: 22, }, end: Position { line: 11, column: 33, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "evdi", span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 12, column: 17, }, }, }, ), ], span: Span { start: Position { line: 11, column: 44, }, end: Position { line: 12, column: 18, }, }, }, ), ], span: Span { start: Position { line: 11, column: 43, }, end: Position { line: 13, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 19, column: 12, }, end: Position { line: 19, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "enabled", span: Span { start: Position { line: 19, column: 17, }, end: Position { line: 19, column: 24, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModulePackages", span: Span { start: Position { line: 21, column: 10, }, end: Position { line: 21, column: 29, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "evdi", span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 38, }, }, }, ), ], span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 22, column: 10, }, end: Position { line: 22, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "evdi", span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 22, column: 33, }, }, }, ), ], span: Span { start: Position { line: 22, column: 28, }, end: Position { line: 22, column: 34, }, }, }, ), ], span: Span { start: Position { line: 22, column: 26, }, end: Position { line: 22, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 24, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "X11/xorg.conf.d/40-displaylink.conf", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 57, }, }, }, ), ], span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 58, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 24, column: 59, }, end: Position { line: 24, column: 63, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Section \"OutputClass\"\n Identifier \"DisplayLink\"\n MatchDriver \"evdi\"\n Driver \"modesetting\"\n Option \"AccelMethod\" \"none\"\nEndSection\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 31, column: 5, }, }, }, ), ], span: Span { start: Position { line: 24, column: 66, }, end: Position { line: 31, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 13, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 21, }, }, }, ), Raw( PartRaw { content: "displayManager", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 36, }, }, }, ), Raw( PartRaw { content: "sessionCommands", span: Span { start: Position { line: 34, column: 37, }, end: Position { line: 34, column: 52, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 35, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getBin", span: Span { start: Position { line: 35, column: 13, }, end: Position { line: 35, column: 19, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 35, column: 20, }, end: Position { line: 35, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xorg", span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 29, }, }, }, ), Raw( PartRaw { content: "xrandr", span: Span { start: Position { line: 35, column: 30, }, end: Position { line: 35, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "/bin/xrandr --setprovideroutputsource 1 0\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 36, column: 5, }, }, }, ), ], span: Span { start: Position { line: 34, column: 55, }, end: Position { line: 36, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 40, column: 14, }, end: Position { line: 40, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 27, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "displaylink", span: Span { start: Position { line: 40, column: 32, }, end: Position { line: 40, column: 43, }, }, }, ), ], span: Span { start: Position { line: 40, column: 30, }, end: Position { line: 40, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 20, }, }, }, ), Raw( PartRaw { content: "powerDownCommands", span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 38, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#flush any bytes in pipe\nwhile read -n 1 -t 1 SUSPEND_RESULT < /tmp/PmMessagesPort_out; do : ; done;\n\n#suspend DisplayLinkManager\necho \"S\" > /tmp/PmMessagesPort_in\n\n#wait until suspend of DisplayLinkManager finish\nif [ -f /tmp/PmMessagesPort_out ]; then\n #wait until suspend of DisplayLinkManager finish\n read -n 1 -t 10 SUSPEND_RESULT < /tmp/PmMessagesPort_out\nfi\n", span: Span { start: Position { line: 43, column: 1, }, end: Position { line: 54, column: 5, }, }, }, ), ], span: Span { start: Position { line: 42, column: 41, }, end: Position { line: 54, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 56, column: 5, }, end: Position { line: 56, column: 20, }, }, }, ), Raw( PartRaw { content: "resumeCommands", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 35, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#resume DisplayLinkManager\necho \"R\" > /tmp/PmMessagesPort_in\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 59, column: 5, }, }, }, ), ], span: Span { start: Position { line: 56, column: 38, }, end: Position { line: 59, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 61, column: 5, }, end: Position { line: 61, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 61, column: 13, }, end: Position { line: 61, column: 21, }, }, }, ), Raw( PartRaw { content: "dlm", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "DisplayLink Manager Service", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 49, }, }, }, ), ], span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "display-manager.service", span: Span { start: Position { line: 63, column: 18, }, end: Position { line: 63, column: 41, }, }, }, ), ], span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 42, }, }, }, ), ], span: Span { start: Position { line: 63, column: 15, }, end: Position { line: 63, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "conflicts", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "getty@tty7.service", span: Span { start: Position { line: 64, column: 22, }, end: Position { line: 64, column: 40, }, }, }, ), ], span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 41, }, }, }, ), ], span: Span { start: Position { line: 64, column: 19, }, end: Position { line: 64, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 66, column: 7, }, end: Position { line: 66, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "displaylink", span: Span { start: Position { line: 67, column: 24, }, end: Position { line: 67, column: 35, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/DisplayLinkManager", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 59, }, }, }, ), ], span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 68, column: 20, }, end: Position { line: 68, column: 26, }, }, }, ), ], span: Span { start: Position { line: 68, column: 19, }, end: Position { line: 68, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 19, }, }, }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 69, column: 22, }, end: Position { line: 69, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LogsDirectory", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "displaylink", span: Span { start: Position { line: 70, column: 26, }, end: Position { line: 70, column: 37, }, }, }, ), ], span: Span { start: Position { line: 70, column: 25, }, end: Position { line: 70, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 71, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 61, column: 28, }, end: Position { line: 72, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 74, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 76, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 76, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 76, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 76, column: 2, }, }, }, )