Update and clean up modules
All checks were successful
CI / build (push) Successful in 2m9s

This commit is contained in:
Fabian Hauser 2025-03-03 23:46:19 +02:00
parent cc3d5090ac
commit e02d86dffd
21 changed files with 270 additions and 241 deletions

View file

@ -0,0 +1,24 @@
{
lib,
pkgs,
config,
inputs,
...
}:
{
options.dotfiles.hardware.modem-em120r-gl.enable = lib.mkEnableOption "Enable EM120R GL Support";
config = lib.mkIf config.dotfiles.hardware.modem-em120r-gl.enable {
environment.systemPackages = with pkgs; [
modemmanager
libmbim
];
environment.etc."ModemManager/fcc-unlock.d/1eac:1001".source =
let
package = inputs.fcc-unlock.packages.${config.nixpkgs.hostPlatform.system}.default;
in
"${package}/bin/fcc-unlock";
};
}