···45You can set the keyboard layout (and optionally the layout variant):
4647```nix
48-services.xserver.layout = "de";
49-services.xserver.xkbVariant = "neo";
50```
5152The X server is started automatically at boot time. If you don't want
···266layout should be ready to use. You can try it by e.g. running
267`setxkbmap us-greek` and then type `<alt>+a` (it may not get applied in
268your terminal straight away). To change the default, the usual
269-`services.xserver.layout` option can still be used.
270271A layout can have several other components besides `xkb_symbols`, for
272example we will define new keycodes for some multimedia key and bind
···45You can set the keyboard layout (and optionally the layout variant):
4647```nix
48+services.xserver.xkb.layout = "de";
49+services.xserver.xkb.variant = "neo";
50```
5152The X server is started automatically at boot time. If you don't want
···266layout should be ready to use. You can try it by e.g. running
267`setxkbmap us-greek` and then type `<alt>+a` (it may not get applied in
268your terminal straight away). To change the default, the usual
269+`services.xserver.xkb.layout` option can still be used.
270271A layout can have several other components besides `xkb_symbols`, for
272example we will define new keycodes for some multimedia key and bind
···90```
91:::
9293-### `mkPackageOption`, `mkPackageOptionMD` {#sec-option-declarations-util-mkPackageOption}
9495Usage:
96···121122If you wish to explicitly provide no default, pass `null` as `default`.
123124-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.
125-126[]{#ex-options-declarations-util-mkPackageOption}
127Examples:
128129::: {#ex-options-declarations-util-mkPackageOption-hello .example}
130### Simple `mkPackageOption` usage
131```nix
132-lib.mkPackageOptionMD pkgs "hello" { }
133# is like
134lib.mkOption {
135 type = lib.types.package;
···143::: {#ex-options-declarations-util-mkPackageOption-ghc .example}
144### `mkPackageOption` with explicit default and example
145```nix
146-lib.mkPackageOptionMD pkgs "GHC" {
147 default = [ "ghc" ];
148 example = "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])";
149}
···90```
91:::
9293+### `mkPackageOption` {#sec-option-declarations-util-mkPackageOption}
9495Usage:
96···121122If you wish to explicitly provide no default, pass `null` as `default`.
12300124[]{#ex-options-declarations-util-mkPackageOption}
125Examples:
126127::: {#ex-options-declarations-util-mkPackageOption-hello .example}
128### Simple `mkPackageOption` usage
129```nix
130+lib.mkPackageOption pkgs "hello" { }
131# is like
132lib.mkOption {
133 type = lib.types.package;
···141::: {#ex-options-declarations-util-mkPackageOption-ghc .example}
142### `mkPackageOption` with explicit default and example
143```nix
144+lib.mkPackageOption pkgs "GHC" {
145 default = [ "ghc" ];
146 example = "pkgs.haskell.packages.ghc92.ghc.withPackages (hkgs: [ hkgs.primes ])";
147}
+2-1
nixos/doc/manual/release-notes/rl-2311.section.md
···273 order, or relying on `mkBefore` and `mkAfter`, but may impact users calling
274 `mkOrder n` with n ≤ 400.
27500276- `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.
277278- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl-prime) now always evaluates the initial accumulator argument first.
···448- 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`.
449450- `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).
451-
···273 order, or relying on `mkBefore` and `mkAfter`, but may impact users calling
274 `mkOrder n` with n ≤ 400.
275276+- 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`.
277+278- `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.
279280- [`lib.lists.foldl'`](https://nixos.org/manual/nixpkgs/stable#function-library-lib.lists.foldl-prime) now always evaluates the initial accumulator argument first.
···450- 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`.
451452- `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).
0
···1-{ config, lib, pkgs, ... }:
2-3-{
4- options = {
5- gnu = lib.mkOption {
6- type = lib.types.bool;
7- default = false;
8- description = lib.mdDoc ''
9- When enabled, GNU software is chosen by default whenever a there is
10- a choice between GNU and non-GNU software (e.g., GNU lsh
11- vs. OpenSSH).
12- '';
13- };
14- };
15-16- config = lib.mkIf config.gnu {
17-18- environment.systemPackages = with pkgs;
19- # TODO: Adjust `requiredPackages' from `system-path.nix'.
20- # TODO: Add Inetutils once it has the new `ifconfig'.
21- [ parted
22- #fdisk # XXX: GNU fdisk currently fails to build and it's redundant
23- # with the `parted' command.
24- nano zile
25- texinfo # for the stand-alone Info reader
26- ]
27- ++ lib.optional (!stdenv.isAarch32) grub2;
28-29-30- # GNU GRUB, where available.
31- boot.loader.grub.enable = !pkgs.stdenv.isAarch32;
32-33- # GNU lsh.
34- services.openssh.enable = false;
35- services.lshd.enable = true;
36- programs.ssh.startAgent = false;
37- services.xserver.startGnuPGAgent = true;
38-39- # TODO: GNU dico.
40- # TODO: GNU Inetutils' inetd.
41- # TODO: GNU Pies.
42- };
43-}
···12callPackage ./generic.nix args {
13 # check the release notes for compatible kernels
14 kernelCompatible = if stdenv'.isx86_64 || removeLinuxDRM
15- then kernel.kernelOlder "6.5"
16 else kernel.kernelOlder "6.2";
1718- latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_1;
001920 # this package should point to a version / git revision compatible with the latest kernel release
21 # IMPORTANT: Always use a tagged release candidate or commits from the
22 # zfs-<version>-staging branch, because this is tested by the OpenZFS
23 # maintainers.
24- version = "2.2.0-rc4";
2526- sha256 = "sha256-zTG6iujlWB2H8j6i+t59zdyztoDFk373AjgHzC8x5mQ=";
2728 isUnstable = true;
29}
···12callPackage ./generic.nix args {
13 # check the release notes for compatible kernels
14 kernelCompatible = if stdenv'.isx86_64 || removeLinuxDRM
15+ then kernel.kernelOlder "6.6"
16 else kernel.kernelOlder "6.2";
1718+ latestCompatibleLinuxPackages = if stdenv'.isx86_64 || removeLinuxDRM
19+ then linuxKernel.packages.linux_6_5
20+ else linuxKernel.packages.linux_6_1;
2122 # this package should point to a version / git revision compatible with the latest kernel release
23 # IMPORTANT: Always use a tagged release candidate or commits from the
24 # zfs-<version>-staging branch, because this is tested by the OpenZFS
25 # maintainers.
26+ version = "2.2.0-rc5";
2728+ sha256 = "sha256-97dTmSneAuhDR7LrJxG7/xPpI1hGv5mDDuq8HRTZKx0=";
2930 isUnstable = true;
31}
···7}:
8buildGoModule rec {
9 pname = "dcgm-exporter";
10+11+ # The first portion of this version string corresponds to a compatible DCGM
12+ # version.
13+ version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version.
1415 src = fetchFromGitHub {
16 owner = "NVIDIA";
···382 jfbpdf = throw "'jfbpdf' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
383 jfbview = throw "'jfbview' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
384 jira-cli = throw "jira-cli was removed because it is no longer maintained"; # Added 2023-02-28
0385386 # Julia
387
···382 jfbpdf = throw "'jfbpdf' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
383 jfbview = throw "'jfbview' has been removed, because it depends on an outdated and insecure version of mupdf"; # Added 2023-06-27
384 jira-cli = throw "jira-cli was removed because it is no longer maintained"; # Added 2023-02-28
385+ join-desktop = throw "'join-desktop' has been removed because it is unmaintained upstream"; # Added 2023-10-04
386387 # Julia
388
···59 backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
60 beancount_docverif = beancount-docverif; # added 2023-10-08
61 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
062 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
63 BlinkStick = blinkstick; # added 2023-02-19
64 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29
···59 backports_weakref = throw "backports_weakref has been removed, since we no longer need to backport to python3.3"; # added 2023-07-28
60 beancount_docverif = beancount-docverif; # added 2023-10-08
61 bedup = throw "bedup was removed because it was broken and abandoned upstream"; # added 2023-02-04
62+ bip_utils = bip-utils; # 2023-10-08
63 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
64 BlinkStick = blinkstick; # added 2023-02-19
65 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29