···4545You can set the keyboard layout (and optionally the layout variant):
46464747```nix
4848-services.xserver.layout = "de";
4949-services.xserver.xkbVariant = "neo";
4848+services.xserver.xkb.layout = "de";
4949+services.xserver.xkb.variant = "neo";
5050```
51515252The X server is started automatically at boot time. If you don't want
···266266layout should be ready to use. You can try it by e.g. running
267267`setxkbmap us-greek` and then type `<alt>+a` (it may not get applied in
268268your terminal straight away). To change the default, the usual
269269-`services.xserver.layout` option can still be used.
269269+`services.xserver.xkb.layout` option can still be used.
270270271271A layout can have several other components besides `xkb_symbols`, for
272272example we will define new keycodes for some multimedia key and bind
···9090```
9191:::
92929393-### `mkPackageOption`, `mkPackageOptionMD` {#sec-option-declarations-util-mkPackageOption}
9393+### `mkPackageOption` {#sec-option-declarations-util-mkPackageOption}
94949595Usage:
9696···121121122122If you wish to explicitly provide no default, pass `null` as `default`.
123123124124-During the transition to CommonMark documentation `mkPackageOption` creates an option with a DocBook description attribute, once the transition is completed it will create a CommonMark description instead. `mkPackageOptionMD` always creates an option with a CommonMark description attribute and will be removed some time after the transition is completed.
125125-126124[]{#ex-options-declarations-util-mkPackageOption}
127125Examples:
128126129127::: {#ex-options-declarations-util-mkPackageOption-hello .example}
130128### Simple `mkPackageOption` usage
131129```nix
132132-lib.mkPackageOptionMD pkgs "hello" { }
130130+lib.mkPackageOption pkgs "hello" { }
133131# is like
134132lib.mkOption {
135133 type = lib.types.package;
···143141::: {#ex-options-declarations-util-mkPackageOption-ghc .example}
144142### `mkPackageOption` with explicit default and example
145143```nix
146146-lib.mkPackageOptionMD pkgs "GHC" {
144144+lib.mkPackageOption pkgs "GHC" {
147145 default = [ "ghc" ];
148146 example = "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])";
149147}
+2-1
nixos/doc/manual/release-notes/rl-2311.section.md
···273273 order, or relying on `mkBefore` and `mkAfter`, but may impact users calling
274274 `mkOrder n` with n ≤ 400.
275275276276+- X keyboard extension (XKB) options have been reorganized into a single attribute set, `services.xserver.xkb`. Specifically, `services.xserver.layout` is now `services.xserver.xkb.layout`, `services.xserver.xkbModel` is now `services.xserver.xkb.model`, `services.xserver.xkbOptions` is now `services.xserver.xkb.options`, `services.xserver.xkbVariant` is now `services.xserver.xkb.variant`, and `services.xserver.xkbDir` is now `services.xserver.xkb.dir`.
277277+276278- `networking.networkmanager.firewallBackend` was removed as NixOS is now using iptables-nftables-compat even when using iptables, therefore Networkmanager now uses the nftables backend unconditionally.
277279278280- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl-prime) now always evaluates the initial accumulator argument first.
···448450- The `electron` packages now places its application files in `$out/libexec/electron` instead of `$out/lib/electron`. Packages using electron-builder will fail to build and need to be adjusted by changing `lib` to `libexec`.
449451450452- `teleport` has been upgraded from major version 12 to major version 14. Please see upstream [upgrade instructions](https://goteleport.com/docs/management/operations/upgrading/) and release notes for versions [13](https://goteleport.com/docs/changelog/#1300-050823) and [14](https://goteleport.com/docs/changelog/#1400-092023). Note that Teleport does not officially support upgrades across more than one major version at a time. If you're running Teleport server components, it is recommended to first upgrade to an intermediate 13.x version by setting `services.teleport.package = pkgs.teleport_13`. Afterwards, this option can be removed to upgrade to the default version (14).
451451-
···11-{ config, lib, pkgs, ... }:
22-33-{
44- options = {
55- gnu = lib.mkOption {
66- type = lib.types.bool;
77- default = false;
88- description = lib.mdDoc ''
99- When enabled, GNU software is chosen by default whenever a there is
1010- a choice between GNU and non-GNU software (e.g., GNU lsh
1111- vs. OpenSSH).
1212- '';
1313- };
1414- };
1515-1616- config = lib.mkIf config.gnu {
1717-1818- environment.systemPackages = with pkgs;
1919- # TODO: Adjust `requiredPackages' from `system-path.nix'.
2020- # TODO: Add Inetutils once it has the new `ifconfig'.
2121- [ parted
2222- #fdisk # XXX: GNU fdisk currently fails to build and it's redundant
2323- # with the `parted' command.
2424- nano zile
2525- texinfo # for the stand-alone Info reader
2626- ]
2727- ++ lib.optional (!stdenv.isAarch32) grub2;
2828-2929-3030- # GNU GRUB, where available.
3131- boot.loader.grub.enable = !pkgs.stdenv.isAarch32;
3232-3333- # GNU lsh.
3434- services.openssh.enable = false;
3535- services.lshd.enable = true;
3636- programs.ssh.startAgent = false;
3737- services.xserver.startGnuPGAgent = true;
3838-3939- # TODO: GNU dico.
4040- # TODO: GNU Inetutils' inetd.
4141- # TODO: GNU Pies.
4242- };
4343-}
···1212callPackage ./generic.nix args {
1313 # check the release notes for compatible kernels
1414 kernelCompatible = if stdenv'.isx86_64 || removeLinuxDRM
1515- then kernel.kernelOlder "6.5"
1515+ then kernel.kernelOlder "6.6"
1616 else kernel.kernelOlder "6.2";
17171818- latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_1;
1818+ latestCompatibleLinuxPackages = if stdenv'.isx86_64 || removeLinuxDRM
1919+ then linuxKernel.packages.linux_6_5
2020+ else linuxKernel.packages.linux_6_1;
19212022 # this package should point to a version / git revision compatible with the latest kernel release
2123 # IMPORTANT: Always use a tagged release candidate or commits from the
2224 # zfs-<version>-staging branch, because this is tested by the OpenZFS
2325 # maintainers.
2424- version = "2.2.0-rc4";
2626+ version = "2.2.0-rc5";
25272626- sha256 = "sha256-zTG6iujlWB2H8j6i+t59zdyztoDFk373AjgHzC8x5mQ=";
2828+ sha256 = "sha256-97dTmSneAuhDR7LrJxG7/xPpI1hGv5mDDuq8HRTZKx0=";
27292830 isUnstable = true;
2931}
···77}:
88buildGoModule rec {
99 pname = "dcgm-exporter";
1010- version = "3.2.5-3.1.7";
1010+1111+ # The first portion of this version string corresponds to a compatible DCGM
1212+ # version.
1313+ version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version.
11141215 src = fetchFromGitHub {
1316 owner = "NVIDIA";
···382382 jfbpdf = throw "'jfbpdf' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
383383 jfbview = throw "'jfbview' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
384384 jira-cli = throw "jira-cli was removed because it is no longer maintained"; # Added 2023-02-28
385385+ join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04
385386386387 # Julia
387388
···5959 backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
6060 beancount_docverif = beancount-docverif; # added 2023-10-08
6161 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
6262+ bip_utils = bip-utils; # 2023-10-08
6263 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
6364 BlinkStick = blinkstick; # added 2023-02-19
6465 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29