I tried to make this as non-breaking as possible, but it will still break things slightly for people expecting certain file names in the packages themselves.
5.6 KiB
Release 21.11 (“?”, 2021.11/??)
In addition to numerous new and upgraded packages, this release has the following highlights:
- Support is planned until the end of April 2022, handing over to 22.05.
Highlights
- PHP now defaults to PHP 8.0, updated from 7.4.
New Services
-
geoipupdate, a GeoIP database updater from MaxMind. Available as services.geoipupdate.
-
sourcehut, a collection of tools useful for software development. Available as services.sourcehut.
-
ucarp, an userspace implementation of the Common Address Redundancy Protocol (CARP). Available as networking.ucarp.
-
Users of flashrom should migrate to programs.flashrom.enable and add themselves to the
flashromgroup to be able to access programmers supported by flashrom.
Backward Incompatibilities
-
The
staticjinjapackage has been upgraded from 1.0.4 to 2.0.0 -
services.geoip-updaterwas broken and has been replaced by services.geoipupdate. -
PHP 7.3 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 21.11 release.
-
Those making use of
buildBazelPackagewill need to regenerate the fetch hashes (preferred), or setfetchConfigured = false;. -
consulwas upgraded to a new major release with breaking changes, see upstream changelog. -
fsharp41 has been removed in preference to use the latest dotnet-sdk
-
The following F#-related packages have been removed for being unmaintaned. Please use
fetchNuGetfor specific packages.- ExtCore
- Fake
- Fantomas
- FsCheck
- FsCheck262
- FsCheckNunit
- FSharpAutoComplete
- FSharpCompilerCodeDom
- FSharpCompilerService
- FSharpCompilerTools
- FSharpCore302
- FSharpCore3125
- FSharpCore4001
- FSharpCore4117
- FSharpData
- FSharpData225
- FSharpDataSQLProvider
- FSharpFormatting
- FsLexYacc
- FsLexYacc706
- FsLexYaccRuntime
- FsPickler
- FsUnit
- Projekt
- Suave
- UnionArgParser
- ExcelDnaRegistration
- MathNetNumerics
-
programs.x2goserveris nowservices.x2goserver -
The following dotnet-related packages have been removed for being unmaintaned. Please use
fetchNuGetfor specific packages.- Autofac
- SystemValueTuple
- MicrosoftDiaSymReader
- MicrosoftDiaSymReaderPortablePdb
- SystemCollectionsImmutable
- SystemCollectionsImmutable131
- SystemReflectionMetadata
- NUnit350
- Deedle
- ExcelDna
- GitVersionTree
- NDeskOptions
-
The
antlrpackage now defaults to the 4.x release instead of the old 2.7.7 version. -
The
libwnckpackage now defaults to the 3.x release instead of the old 2.31.0 version. -
The
bitwarden_rspackages and modules were renamed tovaultwardenfollowing upstream. More specifically,-
pkgs.bitwarden_rs,pkgs.bitwarden_rs-sqlite,pkgs.bitwarden_rs-mysqlandpkgs.bitwarden_rs-postgresqlwere renamed topkgs.vaultwarden,pkgs.vaultwarden-sqlite,pkgs.vaultwarden-mysqlandpkgs.vaultwarden-postgresql, respectively.- Old names are preserved as aliases for backwards compatibility, but may be removed in the future.
- The
bitwarden_rsexecutable was also renamed tovaultwardenin all packages.
-
pkgs.bitwarden_rs-vaultwas renamed topkgs.vaultwarden-vault.pkgs.bitwarden_rs-vaultis preserved as an alias for backwards compatibility, but may be removed in the future.- The static files were moved from
/usr/share/bitwarden_rsto/usr/share/vaultwarden.
-
The
services.bitwarden_rsconfig module was renamed toservices.vaultwarden.services.bitwarden_rsis preserved as an alias for backwards compatibility, but may be removed in the future.
-
systemd.services.bitwarden_rs,systemd.services.backup-bitwarden_rsandsystemd.timers.backup-bitwarden_rswere renamed tosystemd.services.vaultwarden,systemd.services.backup-vaultwardenandsystemd.timers.backup-vaultwarden, respectively.- Old names are preserved as aliases for backwards compatibility, but may be removed in the future.
-
users.users.bitwarden_rsandusers.groups.bitwarden_rswere renamed tousers.users.vaultwardenandusers.groups.vaultwarden, respectively. -
The data directory remains located at
/var/lib/bitwarden_rs, for backwards compatibility.
-
Other Notable Changes
-
The setting
services.openssh.logLevel"VERBOSE""INFO". This brings NixOS in line with upstream and other Linux distributions, and reduces log spam on servers due to bruteforcing botnets.However, if
services.fail2ban.enableistrue, thefail2banwill override the verbosity to"VERBOSE", so thatfail2bancan observe the failed login attempts from the SSH logs. -
Sway: The terminal emulator
rxvt-unicodeis no longer installed by default viaprograms.sway.extraPackages. The current default configuration usesalacritty(and soonfoot) so this is only an issue when using a customized configuration and not installingrxvt-unicodeexplicitly.