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: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "targets", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "default.target", span: Span { start: Position { line: 9, column: 6, }, end: Position { line: 9, column: 20, }, }, }, ), ], span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 21, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 40, }, }, }, ), ], span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rescue.target", span: Span { start: Position { line: 10, column: 6, }, end: Position { line: 10, column: 19, }, }, }, ), ], span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 20, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "emergency.target", span: Span { start: Position { line: 10, column: 22, }, end: Position { line: 10, column: 38, }, }, }, ), ], span: Span { start: Position { line: 10, column: 21, }, end: Position { line: 10, column: 39, }, }, }, ), ], span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "genApiKey", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 13, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writers", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 27, }, }, }, ), Raw( PartRaw { content: "writeDash", span: Span { start: Position { line: 13, column: 28, }, end: Position { line: 13, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generate-brlapi-key", span: Span { start: Position { line: 13, column: 39, }, end: Position { line: 13, column: 58, }, }, }, ), ], span: Span { start: Position { line: 13, column: 38, }, end: Position { line: 13, column: 59, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! test -f /etc/brlapi.key; then\n echo -n generating brlapi key...\n ", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 16, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 20, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/brltty-genkey -f /etc/brlapi.key\n echo done\nfi\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 19, column: 3, }, }, }, ), ], span: Span { start: Position { line: 13, column: 60, }, end: Position { line: 19, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 13, }, }, }, ), Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 25, column: 14, }, end: Position { line: 25, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 30, }, end: Position { line: 25, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 14, }, end: Position { line: 26, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 26, column: 20, }, end: Position { line: 26, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to enable the BRLTTY daemon.", span: Span { start: Position { line: 28, column: 32, }, end: Position { line: 28, column: 68, }, }, }, ), ], span: Span { start: Position { line: 28, column: 31, }, end: Position { line: 28, column: 69, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 39, }, end: Position { line: 29, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 13, }, end: Position { line: 31, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 33, column: 3, }, end: Position { line: 33, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 33, column: 12, }, end: Position { line: 33, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 17, }, end: Position { line: 33, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 34, column: 11, }, end: Position { line: 34, column: 16, }, }, }, ), Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 34, column: 17, }, end: Position { line: 34, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "BRLTTY daemon user", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 40, }, }, }, ), ], span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 22, }, }, }, ), ], span: Span { start: Position { line: 36, column: 15, }, end: Position { line: 36, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 26, }, end: Position { line: 37, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 38, column: 11, }, end: Position { line: 38, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 39, column: 16, }, end: Position { line: 39, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "brlapi", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 19, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 41, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 43, column: 13, }, end: Position { line: 43, column: 21, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "brltty@", span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 43, column: 30, }, }, }, ), ], span: Span { start: Position { line: 43, column: 22, }, end: Position { line: 43, column: 31, }, }, }, ), }, ), Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 43, column: 32, }, end: Position { line: 43, column: 45, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "!", span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 44, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "genApiKey", span: Span { start: Position { line: 44, column: 28, }, end: Position { line: 44, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 44, column: 24, }, end: Position { line: 44, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 47, column: 5, }, end: Position { line: 47, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 47, column: 13, }, end: Position { line: 47, column: 21, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 47, column: 26, }, end: Position { line: 47, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 47, column: 31, }, end: Position { line: 47, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 48, column: 13, }, end: Position { line: 48, column: 21, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 48, column: 22, }, end: Position { line: 48, column: 30, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 48, column: 35, }, end: Position { line: 48, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 48, column: 40, }, end: Position { line: 48, column: 46, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 48, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 49, column: 14, }, end: Position { line: 49, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 27, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 49, column: 32, }, end: Position { line: 49, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 49, column: 37, }, end: Position { line: 49, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 49, column: 30, }, end: Position { line: 49, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 50, column: 17, }, end: Position { line: 50, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 50, column: 36, }, end: Position { line: 50, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 50, column: 41, }, end: Position { line: 50, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 50, column: 34, }, end: Position { line: 50, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 12, }, }, }, ), Raw( PartRaw { content: "paths", span: Span { start: Position { line: 53, column: 13, }, end: Position { line: 53, column: 18, }, }, }, ), Raw( PartRaw { content: "brltty", span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 53, column: 25, }, }, }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 53, column: 26, }, end: Position { line: 53, column: 34, }, }, }, ), ], to: Identifier( Identifier { id: "targets", span: Span { start: Position { line: 53, column: 37, }, end: Position { line: 53, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 54, column: 5, }, end: Position { line: 54, column: 12, }, }, }, ), Raw( PartRaw { content: "paths", span: Span { start: Position { line: 54, column: 13, }, end: Position { line: 54, column: 18, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "brltty@", span: Span { start: Position { line: 54, column: 20, }, end: Position { line: 54, column: 27, }, }, }, ), ], span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 54, column: 29, }, end: Position { line: 54, column: 37, }, }, }, ), ], to: Identifier( Identifier { id: "targets", span: Span { start: Position { line: 54, column: 40, }, end: Position { line: 54, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 55, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 4, }, end: Position { line: 57, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 57, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 57, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 57, column: 2, }, }, }, )