This renames our `firmwareLinuxNonfree` package to `linux-firmware`. There is prior art for this in multiple other distros[1][2][3]. Besides making the package more discoverable by those searching for the usual name, this also brings it in-line with the `kebab-case` we normally see in `nixpkgs` pnames, and removes the `Nonfree` information from the name, which I consider redundant given it's present in `meta.license`. The corresponding alias has been added, so this shouldn't break anything. [1]: https://archlinux.org/packages/core/any/linux-firmware/ [2]: https://src.fedoraproject.org/rpms/linux-firmware [3]: https://packages.gentoo.org/packages/sys-kernel/linux-firmware
9 KiB
Release 22.05 (“Quokka”, 2022.05/??)
In addition to numerous new and upgraded packages, this release has the following highlights:
- Support is planned until the end of December 2022, handing over to 22.11.
Highlights
-
security.acme.defaultshas been added to simplify configuring settings for many certificates at once. This also opens up the the option to use DNS-01 validation when usingenableACMEon web server virtual hosts (e.g.services.nginx.virtualHosts.*.enableACME). -
PHP 8.1 is now available
-
Mattermost has been updated to version 6.2. Migrations may take a while, see the upgrade notes.
New Services
-
aesmd, the Intel SGX Architectural Enclave Service Manager. Available as services.aesmd.
-
rootless Docker, a
systemd --userDocker service which runs without root permissions. Available as virtualisation.docker.rootless.enable. -
matrix-conduit, a simple, fast and reliable chat server powered by matrix. Available as services.matrix-conduit.
-
filebeat, a lightweight shipper for forwarding and centralizing log data. Available as services.filebeat.
-
heisenbridge, a bouncer-style Matrix IRC bridge. Available as services.heisenbridge.
-
PowerDNS-Admin, a web interface for the PowerDNS server. Available at services.powerdns-admin.
-
maddy, a composable all-in-one mail server. Available as services.maddy.
-
mtr-exporter, a Prometheus exporter for mtr metrics. Available as services.mtr-exporter.
-
tetrd, share your internet connection from your device to your PC and vice versa through a USB cable. Available at services.tetrd.
-
ArchiSteamFarm, a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously. Available as services.archisteamfarm.
Backward Incompatibilities
-
pkgs.ghcnow refers topkgs.targetPackages.haskellPackages.ghc. This only makes a difference if you are cross-compiling and will ensure thatpkgs.ghcalways runs on the host platform and compiles for the target platform (similar topkgs.gccfor example).haskellPackages.ghcstill behaves as before, running on the build platform and compiling for the host platform (similar tostdenv.cc). This means you don't have to adjust your derivations if you usehaskellPackages.callPackage, but when usingpkgs.callPackageand takingghcas an input, you should now usebuildPackages.ghcinstead to ensure cross compilation keeps working (or switch tohaskellPackages.callPackage). -
pkgs.emacsPackages.orgPackagesis removed because org elpa is deprecated. The packages in the top level ofpkgs.emacsPackages, such as org and org-contrib, refer to the ones inpkgs.emacsPackages.elpaPackagesandpkgs.emacsPackages.nongnuPackageswhere the new versions will release. -
services.kubernetes.addons.dashboardwas removed due to it being an outdated version. -
The MoinMoin wiki engine (
services.moinmoin) has been removed, because Python 2 is being retired from nixpkgs. -
The
wafHookhook now honorsNIX_BUILD_CORESwhenenableParallelBuildingis not set explicitly. Packages can restore the old behaviour by settingenableParallelBuilding=false. -
pkgs.claws-mail-gtk2, representing Claws Mail's older release version three, was removed in order to get rid of Python 2. Please switch toclaws-mail, which is Claws Mail's latest release based on GTK+3 and Python 3. -
The
writers.writePython2and correspondingwriters.writePython2Binconvenience 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 withwriters.writePython3orwriters.writePyPy2needs to be used. -
If you previously used
/etc/docker/daemon.json, you need to incorporate the changes into the new optionvirtualisation.docker.daemon.settings. -
The
autoresticpackage has been upgraded from 1.3.0 to 1.5.0 which introduces breaking changes in config file, check their migration guide for more details. -
For
pkgs.python3.pkgs.ipython, its direct dependencypkgs.python3.pkgs.matplotlib-inline(which is really an adapter to integrate matplotlib in ipython if it is installed) does not depend onpkgs.python3.pkgs.matplotlibanymore. This is closer to a non-Nix install of ipython. This has the added benefit to reduce the closure size ofipythonfrom ~400MB to ~160MB (including ~100MB for python itself). -
documentation.manhas been refactored to support choosing a man implementation other than GNU'sman-db. For this,documentation.man.manualPageshas been renamed todocumentation.man.man-db.manualPages. If you want to use the new alternative man implementationmandoc, adddocumentation.man = { enable = true; man-db.enable = false; mandoc.enable = true; }to your configuration. -
Normal users (with
isNormalUser = true) which have non-emptysubUidRangesorsubGidRangesset no longer have additional implicit ranges allocated. To enable automatic allocation back setautoSubUidGidRange = true. -
services.thelounge.privatewas removed in favor ofservices.thelounge.public, to follow with upstream changes.
Other Notable Changes
-
The option services.redis.servers was added to support per-application
redis-serverwhich 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 oldservices.redis.settingstoservices.redis.servers."".settings, but you are strongly encouraged to name eachredis-serverinstance after the application using it, instead of keeping that nameless one. Except for the namelessservices.redis.servers.""still accessible at127.0.0.1:6379, and to the members of the Unix groupredisthrough the Unix socket/run/redis/redis.sock, all otherservices.redis.servers.${serverName}are only accessible by default to the members of the Unix groupredis-${serverName}through the Unix socket/run/redis-${serverName}/redis.sock. -
The
writers.writePyPy2/writers.writePyPy3and correspondingwriters.writePyPy2Bin/writers.writePyPy3Binconvenience functions to create executable Python 2/3 scripts using the PyPy interpreter were added. -
The
influxdb2package was split intoinfluxdb2-serverandinfluxdb2-cli, matching the split that took place upstream. A combinedinfluxdb2package is still provided in this release for backwards compatibilty, but will be removed at a later date. -
The
services.unifi.openPortsoption default value oftrueis now deprecated and will be changed tofalsein 22.11. Configurations using this default will print a warning when rebuilt. -
security.acmecertificates will now correctly check for CA revokation before reaching their minimum age. -
Removing domains from
security.acme.certs._name_.extraDomainNameswill now correctly remove those domains during rebuild/renew. -
The option programs.ssh.enableAskPassword was added, decoupling the setting of
SSH_ASKPASSfromservices.xserver.enable. This allows easy usage in non-X11 environments, e.g. Wayland. -
The
services.stubbymodule was converted to a settings-style configuration. -
The option
services.duplicati.dataDirhas been added to allow changing the location of duplicati's files. -
fetchFromSourcehutnow allows fetching repositories recursively usingfetchgitorfetchhgif the argumentfetchSubmodulesis set totrue. -
The option
services.thelounge.pluginshas been added to allow installing plugins for The Lounge. Plugins can be found inpkgs.theLoungePlugins.pluginsandpkgs.theLoungePlugins.themes. -
The
firmwareLinuxNonfreepackage has been renamed tolinux-firmware.