Unverified Commit a315c108 authored by Ramses's avatar Ramses Committed by GitHub
Browse files

nixos/kmscon: revert `hwRender` option (#502952)

parents 31a6de87 0a83ee6f
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ in

      package = mkPackageOption pkgs "kmscon" { };

      hwRender = mkEnableOption "hardware acceleration + DRM backend";
      hwRender = mkEnableOption "3D hardware acceleration to render the console";

      fonts = mkOption {
        description = "Fonts used by kmscon, in order of priority.";
@@ -168,7 +168,6 @@ in
            "--"
            loginScript
          ]

        ))
      ];

@@ -194,14 +193,10 @@ in
            ) config.services.xserver.xkb
          )
        );
        render =
          if cfg.hwRender then
            [
        render = optionals cfg.hwRender [
          "drm"
          "hwaccel"
            ]
          else
            [ "no-drm" ];
        ];
        fonts =
          optional (cfg.fonts != null)
            "font-name=${lib.concatMapStringsSep ", " (f: f.name) cfg.fonts}";