Merge pull request #330424 from panchoh/master

nixos/kmscon: fix cfgfile missing trailing newline
This commit is contained in:
Aleksana
2024-08-03 22:32:12 +08:00
committed by GitHub
+1 -1
View File
@@ -105,7 +105,7 @@ in {
));
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);
in lib.concatLines (xkb ++ render ++ fonts);
hardware.graphics.enable = mkIf cfg.hwRender true;