summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/x11/desktop-managers/enlightenment.nix
diff options
context:
space:
mode:
authorVictor Engmark <victor@engmark.name>2023-10-09 14:31:13 +1300
committerArtturin <Artturin@artturin.com>2023-10-11 09:46:37 +0300
commit3a6c79cff6aa6f4c29af04b544ab367561f11346 (patch)
tree80b7f0996e0b7feb42d177da6fefa80a9689be58 /nixos/modules/services/x11/desktop-managers/enlightenment.nix
parentb3597a7a434435c33d0fb7cd5b15fdf94b465ba8 (diff)
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/services/x11/desktop-managers/enlightenment.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/enlightenment.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/enlightenment.nix b/nixos/modules/services/x11/desktop-managers/enlightenment.nix
index 1512b5fdf8a0..d4b2a50cb8af 100644
--- a/nixos/modules/services/x11/desktop-managers/enlightenment.nix
+++ b/nixos/modules/services/x11/desktop-managers/enlightenment.nix
@@ -90,7 +90,7 @@ in
};
};
- environment.etc."X11/xkb".source = xcfg.xkbDir;
+ environment.etc."X11/xkb".source = xcfg.xkb.dir;
fonts.packages = [ pkgs.dejavu_fonts pkgs.ubuntu_font_family ];