about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-02 23:59:41 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-03 00:01:12 +0200
commit6868a97e5e9e9a5fef1579d3bda378835208d9b8 (patch)
tree76dd620f86ed14da2797a5ebc4f5eb86663ee001
parentc5bcace2113d93a989966b4bd2dc1b3d957a0c61 (diff)
nixos/kmscon: fix eval
-rw-r--r--nixos/modules/services/ttys/kmscon.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/ttys/kmscon.nix b/nixos/modules/services/ttys/kmscon.nix
index b8e9330498c0c..6b05886756fe2 100644
--- a/nixos/modules/services/ttys/kmscon.nix
+++ b/nixos/modules/services/ttys/kmscon.nix
@@ -98,11 +98,11 @@ in {
     services.kmscon.extraConfig =
       let
         xkb = optionals cfg.useXkbConfig
-          lib.mapAttrsToList (n: v: "xkb-${n}=${v}") (
+          (lib.mapAttrsToList (n: v: "xkb-${n}=${v}") (
             lib.filterAttrs
               (n: v: builtins.elem n ["layout" "model" "options" "variant"] && v != "")
               config.services.xserver.xkb
-          );
+          ));
         render = optionals cfg.hwRender [ "drm" "hwaccel" ];
         fonts = optional (cfg.fonts != null) "font-name=${lib.concatMapStringsSep ", " (f: f.name) cfg.fonts}";
       in lib.concatStringsSep "\n" (xkb ++ render ++ fonts);