treewide: drop 25.05 compat code

This commit is contained in:
Sandro Jäckel 2026-01-11 09:40:29 +01:00
parent 388f38215d
commit 639ca38126
No known key found for this signature in database
GPG key ID: 236B6291555E8401
3 changed files with 16 additions and 36 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, ... }:
{
imports = [
@ -14,8 +14,7 @@
path = "${pkgs.modemmanager}/share/ModemManager/fcc-unlock.available.d/${id}";
};
in
if lib.versionOlder lib.version "25.05pre" then
{ networkmanager.fccUnlockScripts = [ fcc_unlock_script ]; }
else
{ modemmanager.fccUnlockScripts = [ fcc_unlock_script ]; };
{
modemmanager.fccUnlockScripts = [ fcc_unlock_script ];
};
}