Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", 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: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "xmr-stak", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkg", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 6, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 9, }, end: Position { line: 9, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xmr-stak", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 22, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 17, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "openclSupport", span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 32, }, }, }, ), Raw( PartRaw { content: "cudaSupport", span: Span { start: Position { line: 10, column: 33, }, end: Position { line: 10, column: 44, }, }, }, ), ], span: Span { start: Position { line: 9, column: 33, }, end: Position { line: 10, column: 45, }, }, }, ), ], span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 11, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 13, }, }, }, ), Raw( PartRaw { content: "xmr-stak", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 18, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 18, column: 36, }, end: Position { line: 18, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "xmr-stak miner", span: Span { start: Position { line: 18, column: 43, }, end: Position { line: 18, column: 57, }, }, }, ), ], span: Span { start: Position { line: 18, column: 42, }, end: Position { line: 18, column: 58, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openclSupport", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 39, }, end: Position { line: 19, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 19, column: 43, }, end: Position { line: 19, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "support for OpenCL (AMD/ATI graphics cards)", span: Span { start: Position { line: 19, column: 50, }, end: Position { line: 19, column: 93, }, }, }, ), ], span: Span { start: Position { line: 19, column: 49, }, end: Position { line: 19, column: 94, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cudaSupport", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 37, }, end: Position { line: 20, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 41, }, end: Position { line: 20, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "support for CUDA (NVidia graphics cards)", span: Span { start: Position { line: 20, column: 48, }, end: Position { line: 20, column: 88, }, }, }, ), ], span: Span { start: Position { line: 20, column: 47, }, end: Position { line: 20, column: 89, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 19, }, end: Position { line: 22, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 29, }, end: Position { line: 23, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 23, column: 35, }, end: Position { line: 23, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 24, column: 19, }, end: Position { line: 24, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "--noCPU", span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 25, column: 29, }, }, }, ), ], span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 30, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--currency monero", span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 25, column: 49, }, }, }, ), ], span: Span { start: Position { line: 25, column: 31, }, end: Position { line: 25, column: 50, }, }, }, ), ], span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 26, column: 27, }, end: Position { line: 26, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of parameters to pass to xmr-stak.", span: Span { start: Position { line: 26, column: 34, }, end: Position { line: 26, column: 73, }, }, }, ), ], span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 74, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 28, }, end: Position { line: 27, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFiles", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 30, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 30, }, end: Position { line: 30, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 30, column: 36, }, end: Position { line: 30, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n \"config.txt\" = ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 34, column: 28, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 34, column: 31, }, }, }, ), Raw( PartRaw { content: "\n \"verbose_level\" : 4,\n \"h_print_time\" : 60,\n \"tls_secure_algo\" : true,\n ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 38, column: 13, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 38, column: 16, }, }, }, ), Raw( PartRaw { content: ";\n \"pools.txt\" = ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 39, column: 27, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 39, column: 30, }, }, }, ), Raw( PartRaw { content: "\n \"currency\" : \"monero7\",\n \"pool_list\" :\n [ { \"pool_address\" : \"pool.supportxmr.com:443\",\n \"wallet_address\" : \"my-wallet-address\",\n \"rig_id\" : \"\",\n \"pool_password\" : \"nixos\",\n \"use_nicehash\" : false,\n \"use_tls\" : true,\n \"tls_fingerprint\" : \"\",\n \"pool_weight\" : 23\n },\n ],\n ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 52, column: 13, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 52, column: 16, }, }, }, ), Raw( PartRaw { content: ";\n}\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 54, column: 9, }, }, }, ), ], span: Span { start: Position { line: 32, column: 37, }, end: Position { line: 54, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 55, column: 27, }, end: Position { line: 55, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Content of config files like config.txt, pools.txt or cpu.txt.\n", span: Span { start: Position { line: 56, column: 1, }, end: Position { line: 57, column: 9, }, }, }, ), ], span: Span { start: Position { line: 55, column: 33, }, end: Position { line: 57, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 30, }, end: Position { line: 58, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 59, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 60, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 62, column: 3, }, end: Position { line: 62, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 62, column: 12, }, end: Position { line: 62, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 62, column: 17, }, end: Position { line: 62, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 63, column: 5, }, end: Position { line: 63, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 63, column: 13, }, end: Position { line: 63, column: 21, }, }, }, ), Raw( PartRaw { content: "xmr-stak", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 38, }, }, }, ), ], span: Span { start: Position { line: 64, column: 20, }, end: Position { line: 64, column: 39, }, }, }, ), ], span: Span { start: Position { line: 64, column: 18, }, end: Position { line: 64, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindsTo", span: Span { start: Position { line: 65, column: 7, }, end: Position { line: 65, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 65, column: 20, }, end: Position { line: 65, column: 41, }, }, }, ), ], span: Span { start: Position { line: 65, column: 19, }, end: Position { line: 65, column: 42, }, }, }, ), ], span: Span { start: Position { line: 65, column: 17, }, end: Position { line: 65, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 66, column: 7, }, end: Position { line: 66, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 66, column: 18, }, end: Position { line: 66, column: 39, }, }, }, ), ], span: Span { start: Position { line: 66, column: 17, }, end: Position { line: 66, column: 40, }, }, }, ), ], span: Span { start: Position { line: 66, column: 15, }, end: Position { line: 66, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 67, column: 26, }, end: Position { line: 67, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cudaSupport", span: Span { start: Position { line: 67, column: 30, }, end: Position { line: 67, column: 41, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LD_LIBRARY_PATH", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 68, column: 30, }, end: Position { line: 68, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "linuxPackages_latest", span: Span { start: Position { line: 68, column: 35, }, end: Position { line: 68, column: 55, }, }, }, ), Raw( PartRaw { content: "nvidia_x11", span: Span { start: Position { line: 68, column: 56, }, end: Position { line: 68, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib", span: Span { start: Position { line: 68, column: 28, }, end: Position { line: 68, column: 71, }, }, }, ), ], span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 68, column: 72, }, }, }, ), }, ), ], span: Span { start: Position { line: 67, column: 42, }, end: Position { line: 69, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStrings", span: Span { start: Position { line: 71, column: 18, }, end: Position { line: 71, column: 31, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flip", span: Span { start: Position { line: 71, column: 33, }, end: Position { line: 71, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 71, column: 38, }, end: Position { line: 71, column: 52, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 71, column: 53, }, end: Position { line: 71, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configFiles", span: Span { start: Position { line: 71, column: 57, }, end: Position { line: 71, column: 68, }, }, }, ), ], default: None, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "fn", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "content", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -sf ", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 72, column: 16, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 72, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 72, column: 24, }, end: Position { line: 72, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "xmr-stak-", span: Span { start: Position { line: 72, column: 35, }, end: Position { line: 72, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fn", span: Span { start: Position { line: 72, column: 46, }, end: Position { line: 72, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 34, }, end: Position { line: 72, column: 50, }, }, }, ), Identifier( Identifier { id: "content", span: Span { start: Position { line: 72, column: 51, }, end: Position { line: 72, column: 58, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 72, column: 61, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 72, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fn", span: Span { start: Position { line: 72, column: 64, }, end: Position { line: 72, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: "'\n", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 73, column: 7, }, }, }, ), ], span: Span { start: Position { line: 71, column: 83, }, end: Position { line: 73, column: 9, }, }, }, ), span: Span { start: Position { line: 71, column: 74, }, end: Position { line: 73, column: 9, }, }, }, ), span: Span { start: Position { line: 71, column: 70, }, end: Position { line: 73, column: 9, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 20, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootRequired", span: Span { start: Position { line: 75, column: 27, }, end: Position { line: 75, column: 39, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 42, }, end: Position { line: 75, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openclSupport", span: Span { start: Position { line: 75, column: 46, }, end: Position { line: 75, column: 59, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 63, }, end: Position { line: 75, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cudaSupport", span: Span { start: Position { line: 75, column: 67, }, end: Position { line: 75, column: 78, }, }, }, ), ], default: None, }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 76, column: 24, }, end: Position { line: 76, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/xmr-stak ", span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 76, column: 44, }, end: Position { line: 76, column: 60, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 76, column: 62, }, end: Position { line: 76, column: 63, }, }, }, ), ], span: Span { start: Position { line: 76, column: 61, }, end: Position { line: 76, column: 64, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 76, column: 65, }, end: Position { line: 76, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 76, column: 69, }, end: Position { line: 76, column: 78, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 76, column: 21, }, end: Position { line: 76, column: 80, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/tmp", span: Span { start: Position { line: 78, column: 29, }, end: Position { line: 78, column: 33, }, }, }, ), ], span: Span { start: Position { line: 78, column: 28, }, end: Position { line: 78, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 79, column: 22, }, end: Position { line: 79, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "rootRequired", span: Span { start: Position { line: 80, column: 24, }, end: Position { line: 80, column: 36, }, }, }, ), span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LimitMEMLOCK", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 81, column: 24, }, end: Position { line: 81, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Integer( Integer { value: "1024", span: Span { start: Position { line: 81, column: 34, }, end: Position { line: 81, column: 38, }, }, }, ), operator: Multiplication, right: Integer( Integer { value: "1024", span: Span { start: Position { line: 81, column: 39, }, end: Position { line: 81, column: 43, }, }, }, ), }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 83, }, end: Position { line: 82, column: 8, }, }, }, ), span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 82, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 63, column: 33, }, end: Position { line: 83, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 62, column: 28, }, end: Position { line: 84, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 86, column: 3, }, end: Position { line: 86, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 87, column: 6, }, end: Position { line: 87, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 87, column: 30, }, end: Position { line: 87, column: 38, }, }, }, ), ], span: Span { start: Position { line: 87, column: 29, }, end: Position { line: 87, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "xmr-stak", span: Span { start: Position { line: 87, column: 41, }, end: Position { line: 87, column: 49, }, }, }, ), ], span: Span { start: Position { line: 87, column: 40, }, end: Position { line: 87, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "configText", span: Span { start: Position { line: 87, column: 52, }, end: Position { line: 87, column: 62, }, }, }, ), ], span: Span { start: Position { line: 87, column: 51, }, end: Position { line: 87, column: 63, }, }, }, ), ], span: Span { start: Position { line: 87, column: 28, }, end: Position { line: 87, column: 64, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This option was removed in favour of `services.xmr-stak.configFiles`\nbecause the new config file `pools.txt` was introduced. You are\nnow able to define all other config files like cpu.txt or amd.txt.\n", span: Span { start: Position { line: 88, column: 1, }, end: Position { line: 91, column: 5, }, }, }, ), ], span: Span { start: Position { line: 87, column: 65, }, end: Position { line: 91, column: 7, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 92, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 1, }, end: Position { line: 93, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 93, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 93, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 93, column: 2, }, }, }, )