treewide: drop 23.11 compat code

This commit is contained in:
Sandro Jäckel 2026-01-11 09:43:50 +01:00
parent d655a68f13
commit b2101de0f8
No known key found for this signature in database
GPG key ID: 236B6291555E8401
2 changed files with 1 additions and 15 deletions

View file

@ -1,6 +1,5 @@
{
config,
pkgs,
lib,
...
}:
@ -11,9 +10,7 @@ let
mkEnableOption
mkIf
mkMerge
version
versionAtLeast
versionOlder
;
cfg = config.hardware.asus.zephyrus.ga402x;
@ -94,12 +91,6 @@ in
'';
})
(mkIf (versionOlder version "23.11") {
# See https://asus-linux.org/wiki/nixos/ for info about some problems
# detecting the dGPU:
systemd.services.supergfxd.path = [ pkgs.pciutils ];
})
(mkIf (config.networking.wireless.iwd.enable && config.networking.wireless.scanOnLowSignal) {
# Meditek doesn't seem to be quite sensitive enough on the default roaming settings:
# https://wiki.archlinux.org/title/Wpa_supplicant#Roaming