diff options
author | Victor Engmark <victor@engmark.name> | 2023-10-09 14:31:13 +1300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-10-11 09:46:37 +0300 |
commit | 3a6c79cff6aa6f4c29af04b544ab367561f11346 (patch) | |
tree | 80b7f0996e0b7feb42d177da6fefa80a9689be58 /nixos/modules/installer/tools | |
parent | b3597a7a434435c33d0fb7cd5b15fdf94b465ba8 (diff) | |
download | nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar.gz nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar.bz2 nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar.lz nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar.xz nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.tar.zst nixpkgs-3a6c79cff6aa6f4c29af04b544ab367561f11346.zip |
nixos/x11: refactor XKB options into a single attrset
[Motivation](https://github.com/NixOS/nixpkgs/issues/257817#issuecomment-1741705042): - Having all the XKB options in the same attribute set clarifies their relation better than using a common option name prefix ("xkb"). - `services.xserver.layout` is an XKB option, but this is not obvious from its name. Putting it with the other XKB options clarifies this. Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
Diffstat (limited to 'nixos/modules/installer/tools')
-rw-r--r-- | nixos/modules/installer/tools/tools.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index 78bcbbe2db5..d385e4a6b1c 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -163,15 +163,15 @@ in # console = { # font = "Lat2-Terminus16"; # keyMap = "us"; - # useXkbConfig = true; # use xkbOptions in tty. + # useXkbConfig = true; # use xkb.options in tty. # }; $xserverConfig $desktopConfiguration # Configure keymap in X11 - # services.xserver.layout = "us"; - # services.xserver.xkbOptions = "eurosign:e,caps:escape"; + # services.xserver.xkb.layout = "us"; + # services.xserver.xkb.options = "eurosign:e,caps:escape"; # Enable CUPS to print documents. # services.printing.enable = true; |