Merge pull request #221721 from K900/remove-plasma-ddc-option

nixos/plasma5: remove supportDDC option

authored by

K900 and committed by
GitHub
730d115a b8bb45de

+1 -18
+1 -18
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 95 description = lib.mdDoc "Phonon audio backend to install."; 96 }; 97 98 - supportDDC = mkOption { 99 - type = types.bool; 100 - default = false; 101 - description = lib.mdDoc '' 102 - Support setting monitor brightness via DDC. 103 - 104 - This is not needed for controlling brightness of the internal monitor 105 - of a laptop and as it is considered experimental by upstream, it is 106 - disabled by default. 107 - ''; 108 - }; 109 - 110 useQtScaling = mkOption { 111 type = types.bool; 112 default = false; ··· 173 174 imports = [ 175 (mkRemovedOptionModule [ "services" "xserver" "desktopManager" "plasma5" "enableQt4Support" ] "Phonon no longer supports Qt 4.") 176 (mkRenamedOptionModule [ "services" "xserver" "desktopManager" "kde5" ] [ "services" "xserver" "desktopManager" "plasma5" ]) 177 ]; 178 ··· 200 source = "${getBin plasma5.kwin}/bin/kwin_wayland"; 201 }; 202 }; 203 - 204 - # DDC support 205 - boot.kernelModules = lib.optional cfg.supportDDC "i2c_dev"; 206 - services.udev.extraRules = lib.optionalString cfg.supportDDC '' 207 - KERNEL=="i2c-[0-9]*", TAG+="uaccess" 208 - ''; 209 210 environment.systemPackages = 211 with libsForQt5;
··· 95 description = lib.mdDoc "Phonon audio backend to install."; 96 }; 97 98 useQtScaling = mkOption { 99 type = types.bool; 100 default = false; ··· 161 162 imports = [ 163 (mkRemovedOptionModule [ "services" "xserver" "desktopManager" "plasma5" "enableQt4Support" ] "Phonon no longer supports Qt 4.") 164 + (mkRemovedOptionModule [ "services" "xserver" "desktopManager" "plasma5" "supportDDC" ] "DDC/CI is no longer supported upstream.") 165 (mkRenamedOptionModule [ "services" "xserver" "desktopManager" "kde5" ] [ "services" "xserver" "desktopManager" "plasma5" ]) 166 ]; 167 ··· 189 source = "${getBin plasma5.kwin}/bin/kwin_wayland"; 190 }; 191 }; 192 193 environment.systemPackages = 194 with libsForQt5;