Guest User

Untitled

a guest
Oct 26th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.21 KB | None | 0 0
  1. 🚀 ℹ️ [deploy] [INFO] Running checks for flake in .?submodules=1
  2. warning: unknown flake output 'deploy'
  3. error:
  4. … while checking flake output 'nixosConfigurations'
  5. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/flake.nix:76:5:
  6. 75|
  7. 76| nixosConfigurations = {
  8. | ^
  9. 77| server = nixpkgs.lib.nixosSystem {
  10.  
  11. … while checking the NixOS configuration 'nixosConfigurations.server'
  12. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/flake.nix:77:7:
  13. 76| nixosConfigurations = {
  14. 77| server = nixpkgs.lib.nixosSystem {
  15. | ^
  16. 78| specialArgs = {
  17.  
  18. … from call site
  19. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/flake.nix:77:7:
  20. 76| nixosConfigurations = {
  21. 77| server = nixpkgs.lib.nixosSystem {
  22. | ^
  23. 78| specialArgs = {
  24.  
  25. … while calling anonymous lambda
  26. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1566:14:
  27. 1565| zipAttrsWith (
  28. 1566| n: values:
  29. | ^
  30. 1567| let
  31.  
  32. … while calling the 'head' builtin
  33. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1571:13:
  34. 1570| if length values == 1 || pred here (elemAt values 1) (head values) then
  35. 1571| head values
  36. | ^
  37. 1572| else
  38.  
  39. … while calling anonymous lambda
  40. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1182:17:
  41. 1181| mapAttrs (
  42. 1182| name: value:
  43. | ^
  44. 1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  45.  
  46. … from call site
  47. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1183:85:
  48. 1182| name: value:
  49. 1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  50. | ^
  51. 1184| );
  52.  
  53. … while calling anonymous lambda
  54. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:273:71:
  55. 272| # For definitions that have an associated option
  56. 273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  57. | ^
  58. 274|
  59.  
  60. … while evaluating the attribute 'value'
  61. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1083:7:
  62. 1082| // {
  63. 1083| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  64. | ^
  65. 1084| inherit (res.defsFinal') highestPrio;
  66.  
  67. … while calling the 'addErrorContext' builtin
  68. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1083:15:
  69. 1082| // {
  70. 1083| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  71. | ^
  72. 1084| inherit (res.defsFinal') highestPrio;
  73.  
  74. … while evaluating the option `system.build.toplevel':
  75.  
  76. … while evaluating the attribute 'mergedValue'
  77. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1130:5:
  78. 1129| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  79. 1130| mergedValue =
  80. | ^
  81. 1131| if isDefined then
  82.  
  83. … while evaluating isDefined
  84. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1131:10:
  85. 1130| mergedValue =
  86. 1131| if isDefined then
  87. | ^
  88. 1132| if all (def: type.check def.value) defsFinal then
  89.  
  90. … while evaluating defsFinal
  91. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1145:17:
  92. 1144|
  93. 1145| isDefined = defsFinal != [ ];
  94. | ^
  95. 1146|
  96.  
  97. … while evaluating the attribute 'values'
  98. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1124:9:
  99. 1123| {
  100. 1124| values = defs''';
  101. | ^
  102. 1125| inherit (defs'') highestPrio;
  103.  
  104. … while calling the 'any' builtin
  105. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1118:14:
  106. 1117| # Avoid sorting if we don't have to.
  107. 1118| if any (def: def.value._type or "" == "order") defs''.values then
  108. | ^
  109. 1119| sortProperties defs''.values
  110.  
  111. … while evaluating the attribute 'values'
  112. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1251:7:
  113. 1250| {
  114. 1251| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
  115. | ^
  116. 1252| inherit highestPrio;
  117.  
  118. … while calling the 'concatMap' builtin
  119. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1251:16:
  120. 1250| {
  121. 1251| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs;
  122. | ^
  123. 1252| inherit highestPrio;
  124.  
  125. … while calling the 'concatMap' builtin
  126. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1098:17:
  127. 1097| # Process mkMerge and mkIf properties.
  128. 1098| defs' = concatMap (
  129. | ^
  130. 1099| m:
  131.  
  132. … while calling anonymous lambda
  133. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1099:11:
  134. 1098| defs' = concatMap (
  135. 1099| m:
  136. | ^
  137. 1100| map (
  138.  
  139. … while calling the 'map' builtin
  140. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1100:11:
  141. 1099| m:
  142. 1100| map (
  143. | ^
  144. 1101| value:
  145.  
  146. … while calling the 'addErrorContext' builtin
  147. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1109:14:
  148. 1108| }
  149. 1109| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  150. | ^
  151. 1110| ) defs;
  152.  
  153. … while evaluating definitions from `/nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/system/activation/top-level.nix':
  154.  
  155. … from call site
  156. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1109:80:
  157. 1108| }
  158. 1109| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  159. | ^
  160. 1110| ) defs;
  161.  
  162. … while calling 'dischargeProperties'
  163. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1202:5:
  164. 1201| dischargeProperties =
  165. 1202| def:
  166. | ^
  167. 1203| if def._type or "" == "merge" then
  168.  
  169. … while evaluating an expression to select '_type' on it
  170. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1203:8:
  171. 1202| def:
  172. 1203| if def._type or "" == "merge" then
  173. | ^
  174. 1204| concatMap dischargeProperties def.contents
  175.  
  176. … while evaluating def
  177. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1203:8:
  178. 1202| def:
  179. 1203| if def._type or "" == "merge" then
  180. | ^
  181. 1204| concatMap dischargeProperties def.contents
  182.  
  183. … while evaluating the attribute 'value'
  184. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:770:21:
  185. 769| inherit (module) file;
  186. 770| inherit value;
  187. | ^
  188. 771| }) module.config
  189.  
  190. … while evaluating system
  191. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/system/activation/top-level.nix:400:79:
  192. 399| system.build.toplevel =
  193. 400| if config.system.includeBuildDependencies then systemWithBuildDeps else system;
  194. | ^
  195. 401|
  196.  
  197. … while evaluating baseSystemAssertWarn
  198. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/system/activation/top-level.nix:89:7:
  199. 88| # Avoid IFD if possible, by sidestepping replaceDependencies if no replacements are specified.
  200. 89| baseSystemAssertWarn
  201. | ^
  202. 90| else
  203.  
  204. … from call site
  205. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/system/activation/top-level.nix:80:26:
  206. 79| # Handle assertions and warnings
  207. 80| baseSystemAssertWarn = lib.asserts.checkAssertWarn config.assertions config.warnings baseSystem;
  208. | ^
  209. 81|
  210.  
  211. … while calling 'checkAssertWarn'
  212. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/asserts.nix:193:27:
  213. 192| checkAssertWarn =
  214. 193| assertions: warnings: val:
  215. | ^
  216. 194| let
  217.  
  218. … while evaluating failedAssertions
  219. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/asserts.nix:197:8:
  220. 196| in
  221. 197| if failedAssertions != [ ] then
  222. | ^
  223. 198| throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
  224.  
  225. … while calling the 'map' builtin
  226. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/asserts.nix:195:26:
  227. 194| let
  228. 195| failedAssertions = map (x: x.message) (filter (x: !x.assertion) assertions);
  229. | ^
  230. 196| in
  231.  
  232. … while calling the 'filter' builtin
  233. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/asserts.nix:195:46:
  234. 194| let
  235. 195| failedAssertions = map (x: x.message) (filter (x: !x.assertion) assertions);
  236. | ^
  237. 196| in
  238.  
  239. … while calling anonymous lambda
  240. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/asserts.nix:195:54:
  241. 194| let
  242. 195| failedAssertions = map (x: x.message) (filter (x: !x.assertion) assertions);
  243. | ^
  244. 196| in
  245.  
  246. … while evaluating the attribute 'assertion'
  247. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/services/networking/wireguard.nix:720:13:
  248. 719| mapAttrs (name: value: {
  249. 720| assertion = (value.privateKey != null) != (value.privateKeyFile != null);
  250. | ^
  251. 721| message = "Either networking.wireguard.interfaces.${name}.privateKey or networking.wireguard.interfaces.${name}.privateKeyFile must be set.";
  252.  
  253. … from call site
  254. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/nixos/modules/services/networking/wireguard.nix:720:62:
  255. 719| mapAttrs (name: value: {
  256. 720| assertion = (value.privateKey != null) != (value.privateKeyFile != null);
  257. | ^
  258. 721| message = "Either networking.wireguard.interfaces.${name}.privateKey or networking.wireguard.interfaces.${name}.privateKeyFile must be set.";
  259.  
  260. … while calling anonymous lambda
  261. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1182:17:
  262. 1181| mapAttrs (
  263. 1182| name: value:
  264. | ^
  265. 1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  266.  
  267. … from call site
  268. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/attrsets.nix:1183:85:
  269. 1182| name: value:
  270. 1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
  271. | ^
  272. 1184| );
  273.  
  274. … while calling anonymous lambda
  275. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:273:71:
  276. 272| # For definitions that have an associated option
  277. 273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options;
  278. | ^
  279. 274|
  280.  
  281. … while evaluating the attribute 'value'
  282. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1083:7:
  283. 1082| // {
  284. 1083| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  285. | ^
  286. 1084| inherit (res.defsFinal') highestPrio;
  287.  
  288. … while calling the 'addErrorContext' builtin
  289. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1083:15:
  290. 1082| // {
  291. 1083| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
  292. | ^
  293. 1084| inherit (res.defsFinal') highestPrio;
  294.  
  295. … while evaluating the option `networking.wireguard.interfaces.wg0.privateKeyFile':
  296.  
  297. (11 duplicate frames omitted)
  298.  
  299. … while evaluating definitions from `/nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/modules/wireguard/wireguard.nix':
  300.  
  301. … from call site
  302. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1109:80:
  303. 1108| }
  304. 1109| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  305. | ^
  306. 1110| ) defs;
  307.  
  308. … while calling 'dischargeProperties'
  309. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1202:5:
  310. 1201| dischargeProperties =
  311. 1202| def:
  312. | ^
  313. 1203| if def._type or "" == "merge" then
  314.  
  315. … while evaluating an expression to select '_type' on it
  316. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1203:8:
  317. 1202| def:
  318. 1203| if def._type or "" == "merge" then
  319. | ^
  320. 1204| concatMap dischargeProperties def.contents
  321.  
  322. … while evaluating def
  323. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:1203:8:
  324. 1202| def:
  325. 1203| if def._type or "" == "merge" then
  326. | ^
  327. 1204| concatMap dischargeProperties def.contents
  328.  
  329. … while evaluating the attribute 'value'
  330. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:770:21:
  331. 769| inherit (module) file;
  332. 770| inherit value;
  333. | ^
  334. 771| }) module.config
  335.  
  336. … while evaluating an expression to select 'wg_private_key' on it
  337. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/modules/wireguard/wireguard.nix:18:37:
  338. 17| ips = "${vars.wg_ips}";
  339. 18| privateKeyFile = "${vars.wg_private_key}";
  340. | ^
  341. 19| mtu = 1420;
  342.  
  343. … while evaluating vars
  344. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/modules/wireguard/wireguard.nix:18:37:
  345. 17| ips = "${vars.wg_ips}";
  346. 18| privateKeyFile = "${vars.wg_private_key}";
  347. | ^
  348. 19| mtu = 1420;
  349.  
  350. … from call site
  351. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/modules/wireguard/wireguard.nix:18:37:
  352. 17| ips = "${vars.wg_ips}";
  353. 18| privateKeyFile = "${vars.wg_private_key}";
  354. | ^
  355. 19| mtu = 1420;
  356.  
  357. … while calling anonymous lambda
  358. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:652:15:
  359. 651| extraArgs = mapAttrs (
  360. 652| name: _: addErrorContext (context name) (args.${name} or config._module.args.${name})
  361. | ^
  362. 653| ) (functionArgs f);
  363.  
  364. … while calling the 'addErrorContext' builtin
  365. at /nix/store/rfxbkh3034xxfcl337qp6an9fad7mxlq-source/lib/modules.nix:652:18:
  366. 651| extraArgs = mapAttrs (
  367. 652| name: _: addErrorContext (context name) (args.${name} or config._module.args.${name})
  368. | ^
  369. 653| ) (functionArgs f);
  370.  
  371. … while evaluating the module argument `vars' in "/nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/modules/wireguard/wireguard.nix":
  372.  
  373. … while evaluating the attribute 'vars'
  374. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/flake.nix:80:11:
  375. 79| inherit inputs;
  376. 80| vars = import ./hosts/server/vars.nix;
  377. | ^
  378. 81| };
  379.  
  380. … while calling the 'import' builtin
  381. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/flake.nix:80:18:
  382. 79| inherit inputs;
  383. 80| vars = import ./hosts/server/vars.nix;
  384. | ^
  385. 81| };
  386.  
  387. error: undefined variable 'config'
  388. at /nix/store/g87ja5lizslgwn6z77gcxy82ijvcl8yg-source/hosts/server/vars.nix:6:22:
  389. 5| wg_ips = ["10.11.12.4/32"];
  390. 6| wg_private_key = config.sops.secrets.wireguard.private_key.path;
  391. | ^
  392. 7| wg_preshared_key = config.sops.secrets.wireguard.preshared_key.path;
  393. 🚀 ❌ [deploy] [ERROR] Failed to check deployment: Nix checking command resulted in a bad exit code: Some(1)
Advertisement
Add Comment
Please, Sign In to add comment