summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
blob: 48e85b1a5e7fbac5b18d97b65472b9bb380e0d0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-release-22.05">
  <title>Release 22.05 (“Quokka”, 2022.05/??)</title>
  <para>
    In addition to numerous new and upgraded packages, this release has
    the following highlights:
  </para>
  <itemizedlist spacing="compact">
    <listitem>
      <para>
        Support is planned until the end of December 2022, handing over
        to 22.11.
      </para>
    </listitem>
  </itemizedlist>
  <section xml:id="sec-release-22.05-highlights">
    <title>Highlights</title>
    <itemizedlist>
      <listitem>
        <para>
          <literal>security.acme.defaults</literal> has been added to
          simplify configuring settings for many certificates at once.
          This also opens up the the option to use DNS-01 validation
          when using <literal>enableACME</literal> on web server virtual
          hosts (e.g.
          <literal>services.nginx.virtualHosts.*.enableACME</literal>).
        </para>
      </listitem>
      <listitem>
        <para>
          PHP 8.1 is now available
        </para>
      </listitem>
      <listitem>
        <para>
          Mattermost has been updated to extended support release 6.3,
          as the previously packaged extended support release 5.37 is
          <link xlink:href="https://docs.mattermost.com/upgrade/extended-support-release.html">reaching
          its end of life</link>. Migrations may take a while, see the
          <link xlink:href="https://docs.mattermost.com/install/self-managed-changelog.html#release-v6-3-extended-support-release">changelog</link>
          and
          <link xlink:href="https://docs.mattermost.com/upgrade/important-upgrade-notes.html">important
          upgrade notes</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          systemd services can now set
          <link linkend="opt-systemd.services">systemd.services.&lt;name&gt;.reloadTriggers</link>
          instead of <literal>reloadIfChanged</literal> for a more
          granular distinction between reloads and restarts.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://kops.sigs.k8s.io"><literal>kops</literal></link>
          defaults to 1.22.4, which will enable
          <link xlink:href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html">Instance
          Metadata Service Version 2</link> and require tokens on new
          clusters with Kubernetes 1.22. This will increase security by
          default, but may break some types of workloads. See the
          <link xlink:href="https://kops.sigs.k8s.io/releases/1.22-notes/">release
          notes</link> for details.
        </para>
      </listitem>
    </itemizedlist>
  </section>
  <section xml:id="sec-release-22.05-new-services">
    <title>New Services</title>
    <itemizedlist>
      <listitem>
        <para>
          <link xlink:href="https://github.com/intel/linux-sgx#install-the-intelr-sgx-psw">aesmd</link>,
          the Intel SGX Architectural Enclave Service Manager. Available
          as
          <link linkend="opt-services.aesmd.enable">services.aesmd</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://docs.docker.com/engine/security/rootless/">rootless
          Docker</link>, a <literal>systemd --user</literal> Docker
          service which runs without root permissions. Available as
          <link xlink:href="options.html#opt-virtualisation.docker.rootless.enable">virtualisation.docker.rootless.enable</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://conduit.rs/">matrix-conduit</link>,
          a simple, fast and reliable chat server powered by matrix.
          Available as
          <link xlink:href="option.html#opt-services.matrix-conduit.enable">services.matrix-conduit</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html">filebeat</link>,
          a lightweight shipper for forwarding and centralizing log
          data. Available as
          <link linkend="opt-services.filebeat.enable">services.filebeat</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/linux-apfs/linux-apfs-rw">apfs</link>,
          a kernel module for mounting the Apple File System (APFS).
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://frrouting.org/">FRRouting</link>, a
          popular suite of Internet routing protocol daemons (BGP, BFD,
          OSPF, IS-IS, VVRP and others). Available as
          <link linkend="opt-services.frr.babel.enable">services.frr</link>
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/hifi/heisenbridge">heisenbridge</link>,
          a bouncer-style Matrix IRC bridge. Available as
          <link xlink:href="options.html#opt-services.heisenbridge.enable">services.heisenbridge</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://snowflake.torproject.org/">snowflake-proxy</link>,
          a system to defeat internet censorship. Available as
          <link xlink:href="options.html#opt-services.snowflake-proxy.enable">services.snowflake-proxy</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://ergo.chat">ergochat</link>, a modern
          IRC with IRCv3 features. Available as
          <link xlink:href="options.html#opt-services.ergochat.enable">services.ergochat</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/ngoduykhanh/PowerDNS-Admin">PowerDNS-Admin</link>,
          a web interface for the PowerDNS server. Available at
          <link xlink:href="options.html#opt-services.powerdns-admin.enable">services.powerdns-admin</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/postgres/pgadmin4">pgadmin4</link>,
          an admin interface for the PostgreSQL database. Available at
          <link xlink:href="options.html#opt-services.pgadmin.enable">services.pgadmin</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/sezanzeb/input-remapper">input-remapper</link>,
          an easy to use tool to change the mapping of your input device
          buttons. Available at
          <link xlink:href="options.html#opt-services.input-remapper.enable">services.input-remapper</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://invoiceplane.com">InvoicePlane</link>,
          web application for managing and creating invoices. Available
          at
          <link xlink:href="options.html#opt-services.invoiceplane.enable">services.invoiceplane</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://maddy.email">maddy</link>, a
          composable all-in-one mail server. Available as
          <link xlink:href="options.html#opt-services.maddy.enable">services.maddy</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://www.scorchworks.com/K40whisperer/k40whisperer.html">K40-Whisperer</link>,
          a program to control cheap Chinese laser cutters. Available as
          <link xlink:href="options.html#opt-programs.k4-whisperer.enable">programs.k40-whisperer.enable</link>.
          Users must add themselves to the <literal>k40</literal> group
          to be able to access the device.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/mgumz/mtr-exporter">mtr-exporter</link>,
          a Prometheus exporter for mtr metrics. Available as
          <link xlink:href="options.html#opt-services.mtr-exporter.enable">services.mtr-exporter</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/prometheus-pve/prometheus-pve-exporter">prometheus-pve-exporter</link>,
          a tool that exposes information from the Proxmox VE API for
          use by Prometheus. Available as
          <link xlink:href="options.html#opt-services.prometheus.exporters.pve">services.prometheus.exporters.pve</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://tetrd.app">tetrd</link>, share your
          internet connection from your device to your PC and vice versa
          through a USB cable. Available at
          <link linkend="opt-services.tetrd.enable">services.tetrd</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/mbrubeck/agate">agate</link>,
          a very simple server for the Gemini hypertext protocol.
          Available as
          <link xlink:href="options.html#opt-services.agate.enable">services.agate</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/JustArchiNET/ArchiSteamFarm">ArchiSteamFarm</link>,
          a C# application with primary purpose of idling Steam cards
          from multiple accounts simultaneously. Available as
          <link xlink:href="options.html#opt-services.archisteamfarm.enable">services.archisteamfarm</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://goteleport.com">teleport</link>,
          allows engineers and security professionals to unify access
          for SSH servers, Kubernetes clusters, web applications, and
          databases across all environments. Available at
          <link linkend="opt-services.teleport.enable">services.teleport</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://loic-sharma.github.io/BaGet/">BaGet</link>,
          a lightweight NuGet and symbol server. Available at
          <link linkend="opt-services.baget.enable">services.baget</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://moosefs.com">moosefs</link>, fault
          tolerant petabyte distributed file system. Available as
          <link linkend="opt-services.moosefs.client.enable">moosefs</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/ThomasLeister/prosody-filer">prosody-filer</link>,
          a server for handling XMPP HTTP Upload requests. Available at
          <link linkend="opt-services.prosody-filer.enable">services.prosody-filer</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/rfjakob/systembus-notify">systembus-notify</link>,
          allow system level notifications to reach the users. Available
          as
          <link xlink:href="opt-services.systembus-notify.enable">services.systembus-notify</link>.
          Please keep in mind that this service should only be enabled
          on machines with fully trusted users, as any local user is
          able to DoS user sessions by spamming notifications.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/audreyt/ethercalc">ethercalc</link>,
          an online collaborative spreadsheet. Available as
          <link xlink:href="options.html#opt-services.ethercalc.enable">services.ethercalc</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://nbd.sourceforge.io/">nbd</link>, a
          Network Block Device server. Available as
          <link xlink:href="options.html#opt-services.nbd.server.enable">services.nbd</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://timetagger.app">timetagger</link>,
          an open source time-tracker with an intuitive user experience
          and powerful reporting.
          <link xlink:href="options.html#opt-services.timetagger.enable">services.timetagger</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://www.rstudio.com/products/rstudio/#rstudio-server">rstudio-server</link>,
          a browser-based version of the RStudio IDE for the R
          programming language. Available as
          <link xlink:href="options.html#opt-services.rstudio-server.enable">services.rstudio-server</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://github.com/juanfont/headscale">headscale</link>,
          an Open Source implementation of the
          <link xlink:href="https://tailscale.io">Tailscale</link>
          Control Server. Available as
          <link xlink:href="options.html#opt-services.headscale.enable">services.headscale</link>
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://0xerr0r.github.io/blocky/">blocky</link>,
          fast and lightweight DNS proxy as ad-blocker for local network
          with many features.
        </para>
      </listitem>
      <listitem>
        <para>
          <link xlink:href="https://clusterlabs.org/pacemaker/">pacemaker</link>
          cluster resource manager
        </para>
      </listitem>
    </itemizedlist>
  </section>
  <section xml:id="sec-release-22.05-incompatibilities">
    <title>Backward Incompatibilities</title>
    <itemizedlist>
      <listitem>
        <para>
          <literal>pkgs.ghc</literal> now refers to
          <literal>pkgs.targetPackages.haskellPackages.ghc</literal>.
          This <emphasis>only</emphasis> makes a difference if you are
          cross-compiling and will ensure that
          <literal>pkgs.ghc</literal> always runs on the host platform
          and compiles for the target platform (similar to
          <literal>pkgs.gcc</literal> for example).
          <literal>haskellPackages.ghc</literal> still behaves as
          before, running on the build platform and compiling for the
          host platform (similar to <literal>stdenv.cc</literal>). This
          means you don’t have to adjust your derivations if you use
          <literal>haskellPackages.callPackage</literal>, but when using
          <literal>pkgs.callPackage</literal> and taking
          <literal>ghc</literal> as an input, you should now use
          <literal>buildPackages.ghc</literal> instead to ensure cross
          compilation keeps working (or switch to
          <literal>haskellPackages.callPackage</literal>).
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.ghc.withPackages</literal> as well as
          <literal>haskellPackages.ghcWithPackages</literal> etc. now
          needs be overridden directly, as opposed to overriding the
          result of calling it. Additionally, the
          <literal>withLLVM</literal> parameter has been renamed to
          <literal>useLLVM</literal>. So instead of
          <literal>(ghc.withPackages (p: [])).override { withLLVM = true; }</literal>,
          one needs to use
          <literal>(ghc.withPackages.override { useLLVM = true; }) (p: [])</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>home-assistant</literal> module now requires
          users that don’t want their configuration to be managed
          declaratively to set
          <literal>services.home-assistant.config = null;</literal>.
          This is required due to the way default settings are handled
          with the new settings style.
        </para>
        <para>
          Additionally the default list of
          <literal>extraComponents</literal> now includes the minimal
          dependencies to successfully complete the
          <link xlink:href="https://www.home-assistant.io/getting-started/onboarding/">onboarding</link>
          procedure.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.emacsPackages.orgPackages</literal> is removed
          because org elpa is deprecated. The packages in the top level
          of <literal>pkgs.emacsPackages</literal>, such as org and
          org-contrib, refer to the ones in
          <literal>pkgs.emacsPackages.elpaPackages</literal> and
          <literal>pkgs.emacsPackages.nongnuPackages</literal> where the
          new versions will release.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.kubernetes.addons.dashboard</literal> was
          removed due to it being an outdated version.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.kubernetes.scheduler.{port,address}</literal>
          now set <literal>--secure-port</literal> and
          <literal>--bind-address</literal> instead of
          <literal>--port</literal> and <literal>--address</literal>,
          since the former have been deprecated and are no longer
          functional in kubernetes&gt;=1.23. Ensure that you are not
          relying on the insecure behaviour before upgrading.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.k3s.enable</literal> no longer implies
          <literal>systemd.enableUnifiedCgroupHierarchy = false</literal>,
          and will default to the <quote>systemd</quote> cgroup driver
          when using <literal>services.k3s.docker = true</literal>. This
          change may require a reboot to take effect, and k3s may not be
          able to run if the boot cgroup hierarchy does not match its
          configuration. The previous behavior may be retained by
          explicitly setting
          <literal>systemd.enableUnifiedCgroupHierarchy = false</literal>
          in your configuration.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>fonts.fonts</literal> no longer includes ancient
          bitmap fonts when both
          <literal>config.services.xserver.enable</literal> and
          <literal>config.nixpkgs.config.allowUnfree</literal> are
          enabled. If you still want these fonts, use:
        </para>
        <programlisting language="bash">
{
  fonts.fonts = [
    pkgs.xorg.fontbhlucidatypewriter100dpi
    pkgs.xorg.fontbhlucidatypewriter75dpi
    pkgs.xorg.fontbh100dpi
  ];
}
</programlisting>
      </listitem>
      <listitem>
        <para>
          The DHCP server (<literal>services.dhcpd4</literal>,
          <literal>services.dhcpd6</literal>) has been hardened. The
          service is now using the systemd’s
          <literal>DynamicUser</literal> mechanism to run as an
          unprivileged dynamically-allocated user with limited
          capabilities. The dhcpd state files are now always stored in
          <literal>/var/lib/dhcpd{4,6}</literal> and the
          <literal>services.dhcpd4.stateDir</literal> and
          <literal>service.dhcpd6.stateDir</literal> options have been
          removed. If you were depending on root privileges or
          set{uid,gid,cap} binaries in dhcpd shell hooks, you may give
          dhcpd more capabilities with e.g.
          <literal>systemd.services.dhcpd6.serviceConfig.AmbientCapabilities</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>mailpile</literal> email webclient
          (<literal>services.mailpile</literal>) has been removed due to
          its reliance on python2.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>matrix-synapse</literal> service
          (<literal>services.matrix-synapse</literal>) has been
          converted to use the <literal>settings</literal> option
          defined in RFC42. This means that options that are part of
          your <literal>homeserver.yaml</literal> configuration, and
          that were specified at the top-level of the module
          (<literal>services.matrix-synapse</literal>) now need to be
          moved into
          <literal>services.matrix-synapse.settings</literal>. And while
          not all options you may use are defined in there, they are
          still supported, because you can set arbitrary values in this
          freeform type.
        </para>
        <para>
          An example to make the required migration clearer:
        </para>
        <para>
          Before:
        </para>
        <programlisting language="bash">
{
  services.matrix-synapse = {
    enable = true;

    server_name = &quot;example.com&quot;;
    public_baseurl = &quot;https://example.com:8448&quot;;

    enable_registration = false;
    registration_shared_secret = &quot;xohshaeyui8jic7uutuDogahkee3aehuaf6ei3Xouz4iicie5thie6nohNahceut&quot;;
    macaroon_secret_key = &quot;xoo8eder9seivukaiPh1cheikohquuw8Yooreid0The4aifahth3Ou0aiShaiz4l&quot;;

    tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
    tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;

    listeners = [ {
      port = 8448;
      bind_address = &quot;&quot;;
      type = &quot;http&quot;;
      tls = true;
      resources = [ {
        names = [ &quot;client&quot; ];
        compress = true;
      } {
        names = [ &quot;federation&quot; ];
        compress = false;
      } ];
    } ];

  };
}
</programlisting>
        <para>
          After:
        </para>
        <programlisting language="bash">
{
  services.matrix-synapse = {
    enable = true;

    # this attribute set holds all values that go into your homeserver.yaml configuration
    # See https://github.com/matrix-org/synapse/blob/develop/docs/sample_config.yaml for
    # possible values.
    settings = {
      server_name = &quot;example.com&quot;;
      public_baseurl = &quot;https://example.com:8448&quot;;

      enable_registration = false;
      # pass `registration_shared_secret` and `macaroon_secret_key` via `extraConfigFiles` instead

      tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;
      tls_certificate_path = &quot;/var/lib/acme/example.com/fullchain.pem&quot;;

      listeners = [ {
        port = 8448;
        bind_address = [
          &quot;::&quot;
          &quot;0.0.0.0&quot;
        ];
        type = &quot;http&quot;;
        tls = true;
        resources = [ {
          names = [ &quot;client&quot; ];
          compress = true;
        } {
          names = [ &quot;federation&quot; ];
          compress = false;
        } ];
      } ];
    };

    extraConfigFiles = [
      /run/keys/matrix-synapse/secrets.yaml
    ];
  };
}
</programlisting>
        <para>
          The secrets in your original config should be migrated into a
          YAML file that is included via
          <literal>extraConfigFiles</literal>.
        </para>
        <para>
          Additionally a few option defaults have been synced up with
          upstream default values, for example the
          <literal>max_upload_size</literal> grew from
          <literal>10M</literal> to <literal>50M</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The MoinMoin wiki engine
          (<literal>services.moinmoin</literal>) has been removed,
          because Python 2 is being retired from nixpkgs.
        </para>
      </listitem>
      <listitem>
        <para>
          Services in the <literal>hadoop</literal> module previously
          set <literal>openFirewall</literal> to true by default. This
          has now been changed to false. Node definitions for multi-node
          clusters would need <literal>openFirewall = true;</literal> to
          be added to to hadoop services when upgrading from NixOS
          21.11.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.hadoop.yarn.nodemanager</literal> now uses
          cgroup-based CPU limit enforcement by default. Additionally,
          the option <literal>useCGroups</literal> was added to
          nodemanagers as an easy way to switch back to the old
          behavior.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>wafHook</literal> hook now honors
          <literal>NIX_BUILD_CORES</literal> when
          <literal>enableParallelBuilding</literal> is not set
          explicitly. Packages can restore the old behaviour by setting
          <literal>enableParallelBuilding=false</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.claws-mail-gtk2</literal>, representing Claws
          Mail’s older release version three, was removed in order to
          get rid of Python 2. Please switch to
          <literal>claws-mail</literal>, which is Claws Mail’s latest
          release based on GTK+3 and Python 3.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>writers.writePython2</literal> and corresponding
          <literal>writers.writePython2Bin</literal> convenience
          functions to create executable Python 2 scripts in the store
          were removed in preparation of removal of the Python 2
          interpreter. Scripts have to be converted to Python 3 for use
          with <literal>writers.writePython3</literal> or
          <literal>writers.writePyPy2</literal> needs to be used.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>buildGoModule</literal> was updated to use
          <literal>go_1_17</literal>, third party derivations that
          specify &gt;= go 1.17 in the main <literal>go.mod</literal>
          will need to regenerate their <literal>vendorSha256</literal>
          hash.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>gnome-passwordsafe</literal> package updated to
          <link xlink:href="https://gitlab.gnome.org/World/secrets/-/tags/6.0">version
          6.x</link> and renamed to <literal>gnome-secrets</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          If you previously used
          <literal>/etc/docker/daemon.json</literal>, you need to
          incorporate the changes into the new option
          <literal>virtualisation.docker.daemon.settings</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          Ntopng (<literal>services.ntopng</literal>) is updated to
          5.2.1 and uses a separate Redis instance if
          <literal>system.stateVersion</literal> is at least
          <literal>22.05</literal>. Existing setups shouldn’t be
          affected.
        </para>
      </listitem>
      <listitem>
        <para>
          The backward compatibility in
          <literal>services.wordpress</literal> to configure sites with
          the old interface has been removed. Please use
          <literal>services.wordpress.sites</literal> instead.
        </para>
      </listitem>
      <listitem>
        <para>
          The backward compatibility in
          <literal>services.dokuwiki</literal> to configure sites with
          the old interface has been removed. Please use
          <literal>services.dokuwiki.sites</literal> instead.
        </para>
      </listitem>
      <listitem>
        <para>
          opensmtpd-extras is no longer build with python2 scripting
          support due to python2 deprecation in nixpkgs
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.miniflux.adminCredentialFiles</literal> is
          now required, instead of defaulting to
          <literal>admin</literal> and <literal>password</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>autorestic</literal> package has been upgraded
          from 1.3.0 to 1.5.0 which introduces breaking changes in
          config file, check
          <link xlink:href="https://autorestic.vercel.app/migration/1.4_1.5">their
          migration guide</link> for more details.
        </para>
      </listitem>
      <listitem>
        <para>
          For <literal>pkgs.python3.pkgs.ipython</literal>, its direct
          dependency
          <literal>pkgs.python3.pkgs.matplotlib-inline</literal> (which
          is really an adapter to integrate matplotlib in ipython if it
          is installed) does not depend on
          <literal>pkgs.python3.pkgs.matplotlib</literal> anymore. This
          is closer to a non-Nix install of ipython. This has the added
          benefit to reduce the closure size of
          <literal>ipython</literal> from ~400MB to ~160MB (including
          ~100MB for python itself).
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>documentation.man</literal> has been refactored to
          support choosing a man implementation other than GNU’s
          <literal>man-db</literal>. For this,
          <literal>documentation.man.manualPages</literal> has been
          renamed to
          <literal>documentation.man.man-db.manualPages</literal>. If
          you want to use the new alternative man implementation
          <literal>mandoc</literal>, add
          <literal>documentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }</literal>
          to your configuration.
        </para>
      </listitem>
      <listitem>
        <para>
          Normal users (with <literal>isNormalUser = true</literal>)
          which have non-empty <literal>subUidRanges</literal> or
          <literal>subGidRanges</literal> set no longer have additional
          implicit ranges allocated. To enable automatic allocation back
          set <literal>autoSubUidGidRange = true</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>idris2</literal> now requires
          <literal>--package</literal> when using packages
          <literal>contrib</literal> and <literal>network</literal>,
          while previously these idris2 packages were automatically
          loaded.
        </para>
      </listitem>
      <listitem>
        <para>
          The iputils package, which is installed by default, no longer
          provides the legacy tools <literal>tftpd</literal> and
          <literal>traceroute6</literal>. More tools
          (<literal>ninfod</literal>, <literal>rarpd</literal>, and
          <literal>rdisc</literal>) are going to be removed in the next
          release. See
          <link xlink:href="https://github.com/iputils/iputils/releases/tag/20211215">upstream’s
          release notes</link> for more details and available
          replacements.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.thelounge.private</literal> was removed in
          favor of <literal>services.thelounge.public</literal>, to
          follow with upstream changes.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.docbookrx</literal> was removed since it’s
          unmaintained
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs._7zz</literal> is now correctly licensed as
          LGPL3+ and BSD3 with optional unfree unRAR licensed code
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>tilp2</literal> was removed together with its module
        </para>
      </listitem>
      <listitem>
        <para>
          The F-PROT antivirus (<literal>fprot</literal> package) and
          its service module were removed because it reached
          <link xlink:href="https://kb.cyren.com/av-support/index.php?/Knowledgebase/Article/View/434/0/end-of-sale--end-of-life-for-f-prot-and-csam">end-of-life</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>bird1</literal> and its modules
          <literal>services.bird</literal> as well as
          <literal>services.bird6</literal> have been removed. Upgrade
          to <literal>services.bird2</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The options
          <literal>networking.interfaces.&lt;name&gt;.ipv4.routes</literal>
          and
          <literal>networking.interfaces.&lt;name&gt;.ipv6.routes</literal>
          are no longer ignored when using networkd instead of the
          default scripted network backend by setting
          <literal>networking.useNetworkd</literal> to
          <literal>true</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          MultiMC has been replaced with the fork PolyMC due to upstream
          developers being hostile to 3rd party package maintainers.
          PolyMC removes all MultiMC branding and is aimed at providing
          proper 3rd party packages like the one contained in Nixpkgs.
          This change affects the data folder where game instances and
          other save and configuration files are stored. Users with
          existing installations should rename
          <literal>~/.local/share/multimc</literal> to
          <literal>~/.local/share/polymc</literal>. The main config
          file’s path has also moved from
          <literal>~/.local/share/multimc/multimc.cfg</literal> to
          <literal>~/.local/share/polymc/polymc.cfg</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>systemd-nspawn@.service</literal> settings have been
          reverted to the default systemd behaviour. User namespaces are
          now activated by default. If you want to keep running nspawn
          containers without user namespaces you need to set
          <literal>systemd.nspawn.&lt;name&gt;.execConfig.PrivateUsers = false</literal>
        </para>
      </listitem>
      <listitem>
        <para>
          The terraform 0.12 compatibility has been removed and the
          <literal>terraform.withPlugins</literal> and
          <literal>terraform-providers.mkProvider</literal>
          implementations simplified. Providers now need to be stored
          under
          <literal>$out/libexec/terraform-providers/&lt;registry&gt;/&lt;owner&gt;/&lt;name&gt;/&lt;version&gt;/&lt;os&gt;_&lt;arch&gt;/terraform-provider-&lt;name&gt;_v&lt;version&gt;</literal>
          (which mkProvider does).
        </para>
        <para>
          This breaks back-compat so it’s not possible to mix-and-match
          with previous versions of nixpkgs. In exchange, it now becomes
          possible to use the providers from
          <link xlink:href="https://github.com/numtide/nixpkgs-terraform-providers-bin">nixpkgs-terraform-providers-bin</link>
          directly.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>dendrite</literal> package has been upgraded from
          0.5.1 to
          <link xlink:href="https://github.com/matrix-org/dendrite/releases/tag/v0.6.5">0.6.5</link>.
          Instances configured with split sqlite databases, which has
          been the default in NixOS, require merging of the federation
          sender and signing key databases. See upstream
          <link xlink:href="https://github.com/matrix-org/dendrite/releases/tag/v0.6.0">release
          notes</link> on version 0.6.0 for details on database changes.
        </para>
      </listitem>
      <listitem>
        <para>
          The existing <literal>pkgs.opentelemetry-collector</literal>
          has been moved to
          <literal>pkgs.opentelemetry-collector-contrib</literal> to
          match the actual source being the <quote>contrib</quote>
          edition. <literal>pkgs.opentelemetry-collector</literal> is
          now the actual core release of opentelemetry-collector. If you
          use the community contributions you should change the package
          you refer to. If you don’t need them update your commands from
          <literal>otelcontribcol</literal> to
          <literal>otelcorecol</literal> and enjoy a 7x smaller binary.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.pgadmin</literal> now refers to
          <literal>pkgs.pgadmin4</literal>. If you still need pgadmin3,
          use <literal>pkgs.pgadmin3</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.noto-fonts-cjk</literal> is now deprecated in
          favor of <literal>pkgs.noto-fonts-cjk-sans</literal> and
          <literal>pkgs.noto-fonts-cjk-serif</literal> because they each
          have different release schedules. To maintain compatibility
          with prior releases of Nixpkgs,
          <literal>pkgs.noto-fonts-cjk</literal> is currently an alias
          of <literal>pkgs.noto-fonts-cjk-sans</literal> and doesn’t
          include serif fonts.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.epgstation</literal> has been upgraded from v1
          to v2, resulting in incompatible changes in the database
          scheme and configuration format.
        </para>
      </listitem>
      <listitem>
        <para>
          Some top-level settings under
          <link linkend="opt-services.epgstation.enable">services.epgstation</link>
          is now deprecated because it was redudant due to the same
          options being present in
          <link linkend="opt-services.epgstation.settings">services.epgstation.settings</link>.
        </para>
      </listitem>
      <listitem>
        <para>
          The option <literal>services.epgstation.basicAuth</literal>
          was removed because basic authentication support was dropped
          by upstream.
        </para>
      </listitem>
      <listitem>
        <para>
          The option
          <link linkend="opt-services.epgstation.database.passwordFile">services.epgstation.database.passwordFile</link>
          no longer has a default value. Make sure to set this option
          explicitly before upgrading. Change the database password if
          necessary.
        </para>
      </listitem>
      <listitem>
        <para>
          The
          <link linkend="opt-services.epgstation.settings">services.epgstation.settings</link>
          option now expects options for <literal>config.yml</literal>
          in EPGStation v2.
        </para>
      </listitem>
      <listitem>
        <para>
          Existing data for the
          <link linkend="opt-services.epgstation.enable">services.epgstation</link>
          module would have to be backed up prior to the upgrade. To
          back up exising data to
          <literal>/tmp/epgstation.bak</literal>, run
          <literal>sudo -u epgstation epgstation run backup /tmp/epgstation.bak</literal>.
          To import that data after to the upgrade, run
          <literal>sudo -u epgstation epgstation run v1migrate /tmp/epgstation.bak</literal>
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>switch-to-configuration</literal> (the script that is
          run when running <literal>nixos-rebuild switch</literal> for
          example) has been reworked
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              The interface that allows activation scripts to restart
              units has been streamlined. Restarting and reloading is
              now done by a single file
              <literal>/run/nixos/activation-restart-list</literal> that
              honors <literal>restartIfChanged</literal> and
              <literal>reloadIfChanged</literal> of the units.
            </para>
            <itemizedlist spacing="compact">
              <listitem>
                <para>
                  Preferring to reload instead of restarting can still
                  be achieved using
                  <literal>/run/nixos/activation-reload-list</literal>.
                </para>
              </listitem>
            </itemizedlist>
          </listitem>
          <listitem>
            <para>
              The script now uses a proper ini-file parser to parse
              systemd units. Some values are now only searched in one
              section instead of in the entire unit. This is only
              relevant for units that don’t use the NixOS systemd moule.
            </para>
            <itemizedlist spacing="compact">
              <listitem>
                <para>
                  <literal>RefuseManualStop</literal>,
                  <literal>X-OnlyManualStart</literal>,
                  <literal>X-StopOnRemoval</literal>,
                  <literal>X-StopOnReconfiguration</literal> are only
                  searched in the <literal>[Unit]</literal> section
                </para>
              </listitem>
              <listitem>
                <para>
                  <literal>X-ReloadIfChanged</literal>,
                  <literal>X-RestartIfChanged</literal>,
                  <literal>X-StopIfChanged</literal> are only searched
                  in the <literal>[Service]</literal> section
                </para>
              </listitem>
            </itemizedlist>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>
          The <literal>services.bookstack.cacheDir</literal> option has
          been removed, since the cache directory is now handled by
          systemd.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>services.bookstack.extraConfig</literal> option
          has been replaced by
          <literal>services.bookstack.config</literal> which implements
          a
          <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
          configuration.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>lib.assertMsg</literal> and
          <literal>lib.assertOneOf</literal> no longer return
          <literal>false</literal> if the passed condition is
          <literal>false</literal>, <literal>throw</literal>ing the
          given error message instead (which makes the resulting error
          message less cluttered). This will not impact the behaviour of
          code using these functions as intended, namely as top-level
          wrapper for <literal>assert</literal> conditions.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>vpnc</literal> package has been changed to use
          GnuTLS instead of OpenSSL by default for licensing reasons.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.vimPlugins.onedark-nvim</literal> now refers to
          <link xlink:href="https://github.com/navarasu/onedark.nvim">navarasu/onedark.nvim</link>
          (formerly refers to
          <link xlink:href="https://github.com/olimorris/onedarkpro.nvim">olimorris/onedarkpro.nvim</link>).
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.pipewire.enable</literal> will default to
          enabling the WirePlumber session manager instead of
          pipewire-media-session. pipewire-media-session is deprecated
          by upstream and not recommended, but can still be manually
          enabled by setting
          <literal>services.pipewire.media-session.enable</literal> to
          <literal>true</literal> and
          <literal>services.pipewire.wireplumber.enable</literal> to
          <literal>false</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>pkgs.makeDesktopItem</literal> has been refactored to
          provide a more idiomatic API. Specifically:
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              All valid options as of FDO Desktop Entry specification
              version 1.4 can now be passed in as explicit arguments
            </para>
          </listitem>
          <listitem>
            <para>
              <literal>exec</literal> can now be null, for entries that
              are not of type Application
            </para>
          </listitem>
          <listitem>
            <para>
              <literal>mimeType</literal> argument is renamed to
              <literal>mimeTypes</literal> for consistency
            </para>
          </listitem>
          <listitem>
            <para>
              <literal>mimeTypes</literal>,
              <literal>categories</literal>,
              <literal>implements</literal>,
              <literal>keywords</literal>, <literal>onlyShowIn</literal>
              and <literal>notShowIn</literal> take lists of strings
              instead of one string with semicolon separators
            </para>
          </listitem>
          <listitem>
            <para>
              <literal>extraDesktopEntries</literal> renamed to
              <literal>extraConfig</literal> for consistency
            </para>
          </listitem>
          <listitem>
            <para>
              Actions should now be provided as an attrset
              <literal>actions</literal>, the <literal>Actions</literal>
              line will be autogenerated.
            </para>
          </listitem>
          <listitem>
            <para>
              <literal>extraEntries</literal> is removed.
            </para>
          </listitem>
          <listitem>
            <para>
              Additional validation is added both at eval time and at
              build time.
            </para>
          </listitem>
        </itemizedlist>
        <para>
          See the <literal>vscode</literal> package for a more detailed
          example.
        </para>
      </listitem>
    </itemizedlist>
  </section>
  <section xml:id="sec-release-22.05-notable-changes">
    <title>Other Notable Changes</title>
    <itemizedlist>
      <listitem>
        <para>
          The option
          <link linkend="opt-services.redis.servers">services.redis.servers</link>
          was added to support per-application
          <literal>redis-server</literal> which is more secure since
          Redis databases are only mere key prefixes without any
          configuration or ACL of their own. Backward-compatibility is
          preserved by mapping old
          <literal>services.redis.settings</literal> to
          <literal>services.redis.servers.&quot;&quot;.settings</literal>,
          but you are strongly encouraged to name each
          <literal>redis-server</literal> instance after the application
          using it, instead of keeping that nameless one. Except for the
          nameless
          <literal>services.redis.servers.&quot;&quot;</literal> still
          accessible at <literal>127.0.0.1:6379</literal>, and to the
          members of the Unix group <literal>redis</literal> through the
          Unix socket <literal>/run/redis/redis.sock</literal>, all
          other <literal>services.redis.servers.${serverName}</literal>
          are only accessible by default to the members of the Unix
          group <literal>redis-${serverName}</literal> through the Unix
          socket <literal>/run/redis-${serverName}/redis.sock</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The option
          <link linkend="opt-virtualisation.vmVariant">virtualisation.vmVariant</link>
          was added to allow users to make changes to the
          <literal>nixos-rebuild build-vm</literal> configuration that
          do not apply to their normal system.
        </para>
        <para>
          The <literal>config.system.build.vm</literal> attribute now
          always exists and defaults to the value from
          <literal>vmVariant</literal>. Configurations that import the
          <literal>virtualisation/qemu-vm.nix</literal> module
          themselves will override this value, such that
          <literal>vmVariant</literal> is not used.
        </para>
        <para>
          Similarly
          <link linkend="opt-virtualisation.vmVariantWithBootLoader">virtualisation.vmVariantWithBootloader</link>
          was added.
        </para>
      </listitem>
      <listitem>
        <para>
          The configuration portion of the <literal>nix-daemon</literal>
          module has been reworked and exposed as
          <link xlink:href="options.html#opt-nix-settings">nix.settings</link>:
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              Legacy options have been mapped to the corresponding
              options under under
              <link xlink:href="options.html#opt-nix.settings">nix.settings</link>
              but may be deprecated in the future.
            </para>
          </listitem>
          <listitem>
            <para>
              <link xlink:href="options.html#opt-nix.buildMachines.publicHostKey">nix.buildMachines.publicHostKey</link>
              has been added.
            </para>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>
          The
          <literal>writers.writePyPy2</literal>/<literal>writers.writePyPy3</literal>
          and corresponding
          <literal>writers.writePyPy2Bin</literal>/<literal>writers.writePyPy3Bin</literal>
          convenience functions to create executable Python 2/3 scripts
          using the PyPy interpreter were added.
        </para>
      </listitem>
      <listitem>
        <para>
          Some improvements have been made to the
          <literal>hadoop</literal> module:
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              A <literal>gatewayRole</literal> option has been added,
              for deploying hadoop cluster configuration files to a node
              that does not have any active services
            </para>
          </listitem>
          <listitem>
            <para>
              Support for older versions of hadoop have been added to
              the module
            </para>
          </listitem>
          <listitem>
            <para>
              Overriding and extending site XML files has been made
              easier
            </para>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>
          If you are using Wayland you can choose to use the Ozone
          Wayland support in Chrome and several Electron apps by setting
          the environment variable <literal>NIXOS_OZONE_WL=1</literal>
          (for example via
          <literal>environment.sessionVariables.NIXOS_OZONE_WL = &quot;1&quot;</literal>).
          This is not enabled by default because Ozone Wayland is still
          under heavy development and behavior is not always flawless.
          Furthermore, not all Electron apps use the latest Electron
          versions.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>influxdb2</literal> package was split into
          <literal>influxdb2-server</literal> and
          <literal>influxdb2-cli</literal>, matching the split that took
          place upstream. A combined <literal>influxdb2</literal>
          package is still provided in this release for backwards
          compatibilty, but will be removed at a later date.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>unifi</literal> package was switched from
          <literal>unifi6</literal> to <literal>unifi7</literal>. Direct
          downgrades from Unifi 7 to Unifi 6 are not possible and
          require restoring from a backup made by Unifi 6.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>programs.zsh.autosuggestions.strategy</literal> now
          takes a list of strings instead of a string.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>services.unifi.openPorts</literal> option default
          value of <literal>true</literal> is now deprecated and will be
          changed to <literal>false</literal> in 22.11. Configurations
          using this default will print a warning when rebuilt.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>security.acme</literal> certificates will now
          correctly check for CA revokation before reaching their
          minimum age.
        </para>
      </listitem>
      <listitem>
        <para>
          Removing domains from
          <literal>security.acme.certs._name_.extraDomainNames</literal>
          will now correctly remove those domains during rebuild/renew.
        </para>
      </listitem>
      <listitem>
        <para>
          MariaDB is now offered in several versions, not just the
          newest one. So if you have a need for running MariaDB 10.4 for
          example, you can now just set
          <literal>services.mysql.package = pkgs.mariadb_104;</literal>.
          In general, it is recommended to run the newest version, to
          get the newest features, while sticking with an LTS version
          will most likely provide a more stable experience. Sometimes
          software is also incompatible with the newest version of
          MariaDB.
        </para>
      </listitem>
      <listitem>
        <para>
          The option
          <link linkend="opt-programs.ssh.enableAskPassword">programs.ssh.enableAskPassword</link>
          was added, decoupling the setting of
          <literal>SSH_ASKPASS</literal> from
          <literal>services.xserver.enable</literal>. This allows easy
          usage in non-X11 environments, e.g. Wayland.
        </para>
      </listitem>
      <listitem>
        <para>
          <link linkend="opt-programs.ssh.knownHosts">programs.ssh.knownHosts</link>
          has gained an <literal>extraHostNames</literal> option to
          replace <literal>hostNames</literal>.
          <literal>hostNames</literal> is deprecated, but still
          available for now.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>services.stubby</literal> module was converted to
          a
          <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">settings-style</link>
          configuration.
        </para>
      </listitem>
      <listitem>
        <para>
          The option <literal>services.duplicati.dataDir</literal> has
          been added to allow changing the location of duplicati’s
          files.
        </para>
      </listitem>
      <listitem>
        <para>
          The options <literal>boot.extraModprobeConfig</literal> and
          <literal>boot.blacklistedKernelModules</literal> now also take
          effect in the initrd by copying the file
          <literal>/etc/modprobe.d/nixos.conf</literal> into the initrd.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>nixos-generate-config</literal> now puts the dhcp
          configuration in <literal>hardware-configuration.nix</literal>
          instead of <literal>configuration.nix</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          ORY Kratos was updated to version 0.8.3-alpha.1.pre.0, which
          introduces some breaking changes:
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              If you are relying on the SQLite images, update your
              Docker Pull commands as follows:
            </para>
            <itemizedlist spacing="compact">
              <listitem>
                <para>
                  <literal>docker pull oryd/kratos:{version}</literal>
                </para>
              </listitem>
            </itemizedlist>
          </listitem>
          <listitem>
            <para>
              Additionally, all passwords now have to be at least 8
              characters long.
            </para>
          </listitem>
          <listitem>
            <para>
              For more details, see:
            </para>
            <itemizedlist spacing="compact">
              <listitem>
                <para>
                  <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.8.1-alpha.1">Release
                  Notes for v0.8.1-alpha-1</link>
                </para>
              </listitem>
              <listitem>
                <para>
                  <link xlink:href="https://github.com/ory/kratos/releases/tag/v0.8.2-alpha.1">Release
                  Notes for v0.8.2-alpha-1</link>
                </para>
              </listitem>
            </itemizedlist>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>
          <literal>fetchFromSourcehut</literal> now allows fetching
          repositories recursively using <literal>fetchgit</literal> or
          <literal>fetchhg</literal> if the argument
          <literal>fetchSubmodules</literal> is set to
          <literal>true</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>element-desktop</literal> package now has an
          <literal>useKeytar</literal> option (defaults to
          <literal>true</literal>), which allows disabling
          <literal>keytar</literal> and in turn
          <literal>libsecret</literal> usage (which binds to native
          credential managers / keychain libraries).
        </para>
      </listitem>
      <listitem>
        <para>
          The option <literal>services.thelounge.plugins</literal> has
          been added to allow installing plugins for The Lounge. Plugins
          can be found in
          <literal>pkgs.theLoungePlugins.plugins</literal> and
          <literal>pkgs.theLoungePlugins.themes</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The option
          <literal>services.xserver.videoDriver = [ &quot;nvidia&quot; ];</literal>
          will now also install
          <link xlink:href="https://github.com/elFarto/nvidia-vaapi-driver">nvidia
          VA-API drivers</link> by default.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>firmwareLinuxNonfree</literal> package has been
          renamed to <literal>linux-firmware</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          It is now possible to specify wordlists to include as handy to
          access environment variables using the
          <literal>config.environment.wordlist</literal> configuration
          options.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>services.mbpfan</literal> module was converted to
          a
          <link xlink:href="https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md">RFC
          0042</link> configuration.
        </para>
      </listitem>
      <listitem>
        <para>
          The default value for
          <literal>programs.spacefm.settings.graphical_su</literal> got
          unset. It previously pointed to <literal>gksu</literal> which
          has been removed.
        </para>
      </listitem>
      <listitem>
        <para>
          A new module was added for the
          <link xlink:href="https://starship.rs/">Starship</link> shell
          prompt, providing the options
          <literal>programs.starship.enable</literal> and
          <literal>programs.starship.settings</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The <link xlink:href="https://dino.im">Dino</link> XMPP client
          was updated to 0.3, adding support for audio and video calls.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.mattermost.plugins</literal> has been added
          to allow the declarative installation of Mattermost plugins.
          Plugins are automatically repackaged using autoPatchelf.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>services.logrotate.enable</literal> now defaults to
          true if any rotate path has been defined, and some paths have
          been added by default.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>zrepl</literal> package has been updated from
          0.4.0 to 0.5:
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              The RPC protocol version was bumped; all zrepl daemons in
              a setup must be updated and restarted before replication
              can resume.
            </para>
          </listitem>
          <listitem>
            <para>
              A bug involving encrypt-on-receive has been fixed. Read
              the
              <link xlink:href="https://zrepl.github.io/configuration/sendrecvoptions.html#job-recv-options-placeholder">zrepl
              documentation</link> and check the output of
              <literal>zfs get -r encryption,zrepl:placeholder PATH_TO_ROOTFS</literal>
              on the receiver.
            </para>
          </listitem>
        </itemizedlist>
      </listitem>
      <listitem>
        <para>
          Renamed option
          <literal>services.openssh.challengeResponseAuthentication</literal>
          to
          <literal>services.openssh.kbdInteractiveAuthentication</literal>.
          Reason is that the old name has been deprecated upstream.
          Using the old option name will still work, but produce a
          warning.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>pomerium-cli</literal> command has been moved out
          of the <literal>pomerium</literal> package into the
          <literal>pomerium-cli</literal> package, following upstream’s
          repository split. If you are using the
          <literal>pomerium-cli</literal> command, you should now
          install the <literal>pomerium-cli</literal> package.
        </para>
      </listitem>
      <listitem>
        <para>
          The option
          <link linkend="opt-networking.networkmanager.enableFccUnlock">services.networking.networkmanager.enableFccUnlock</link>
          was added to support FCC unlock procedures. Since release
          1.18.4, the ModemManager daemon no longer automatically
          performs the FCC unlock procedure by default. See
          <link xlink:href="https://modemmanager.org/docs/modemmanager/fcc-unlock/">the
          docs</link> for more details.
        </para>
      </listitem>
      <listitem>
        <para>
          <literal>programs.tmux</literal> has a new option
          <literal>plugins</literal> that accepts a list of packages
          from the <literal>tmuxPlugins</literal> group. The specified
          packages are added to the system and loaded by
          <literal>tmux</literal>.
        </para>
      </listitem>
      <listitem>
        <para>
          The polkit service, available at
          <literal>security.polkit.enable</literal>, is now disabled by
          default. It will automatically be enabled through services and
          desktop environments as needed.
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>hadoop</literal> package has added support for
          <literal>aarch64-linux</literal> and
          <literal>aarch64-darwin</literal> as of 3.3.1
          (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/158613">#158613</link>).
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>R</literal> package now builds again on
          <literal>aarch64-darwin</literal>
          (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/158992">#158992</link>).
        </para>
      </listitem>
      <listitem>
        <para>
          The <literal>spark3</literal> package has been updated from
          3.1.2 to 3.2.1
          (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/160075">#160075</link>):
        </para>
        <itemizedlist spacing="compact">
          <listitem>
            <para>
              Testing has been enabled for
              <literal>aarch64-linux</literal> in addition to
              <literal>x86_64-linux</literal>.
            </para>
          </listitem>
          <listitem>
            <para>
              The <literal>spark3</literal> package is now usable on
              <literal>aarch64-darwin</literal> as a result of
              <link xlink:href="https://github.com/NixOS/nixpkgs/pull/158613">#158613</link>
              and
              <link xlink:href="https://github.com/NixOS/nixpkgs/pull/158992">#158992</link>.
            </para>
          </listitem>
        </itemizedlist>
      </listitem>
    </itemizedlist>
  </section>
</section>