Add fcc-unlock
This commit is contained in:
parent
98c008fa33
commit
bc1e1731cf
6 changed files with 53 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, modulesPath, hardwareModules, ... }: {
|
||||
{ config, lib, pkgs, modulesPath, hardwareModules, pkgFccUnlock, ... }: {
|
||||
|
||||
imports = with hardwareModules; [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
@ -12,7 +12,12 @@
|
|||
boot.initrd.kernelModules =
|
||||
[ "dm-snapshot" ]; # TODO: This should be moved to defaults
|
||||
|
||||
environment.systemPackages = with pkgs; [ modemmanager libmbim ];
|
||||
environment.systemPackages = with pkgs; [ modemmanager libmbim ];
|
||||
|
||||
|
||||
environment.etc."ModemManager/fcc-unlock.d/1eac:1001" = {
|
||||
source = "${pkgFccUnlock}/bin/fcc-unlock";
|
||||
};
|
||||
|
||||
# CPU Configuration
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue