switch from potter to harpia
This commit is contained in:
parent
fd0be0908f
commit
0ac38e0d39
@ -11,22 +11,33 @@ let
|
|||||||
};
|
};
|
||||||
makeFlags = ["prefix=${placeholder "out"}"];
|
makeFlags = ["prefix=${placeholder "out"}"];
|
||||||
};
|
};
|
||||||
|
modemFirmware = config.mobile.device.firmware.override {
|
||||||
|
modem = ./local/harpia-modem;
|
||||||
|
};
|
||||||
secrets = import ./local/secrets.nix;
|
secrets = import ./local/secrets.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(import ../mobile-nixos/lib/configuration.nix { device = "motorola-potter"; })
|
(import ../mobile-nixos/lib/configuration.nix { device = "motorola-harpia"; })
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
mobile = {
|
mobile = {
|
||||||
adbd.enable = true;
|
adbd.enable = true;
|
||||||
|
# boot.stage-1.gui.enable = false;
|
||||||
|
# beautification.splash = false;
|
||||||
|
# quirks.fb-refresher.enable = lib.mkForce false;
|
||||||
|
# quirks.qualcomm.msm8953-modem.enable = true;
|
||||||
|
boot.stage-1.firmware = [
|
||||||
|
modemFirmware
|
||||||
|
pkgs.wireless-regdb
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
hardware.firmware = [
|
||||||
|
modemFirmware
|
||||||
|
pkgs.wireless-regdb
|
||||||
|
];
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
hardware.firmware = [
|
|
||||||
(config.mobile.device.firmware.override {
|
|
||||||
modem = ./modem;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user