nixphone stuff
This commit is contained in:
parent
0348ef1e6a
commit
f0fca1bad4
1 changed files with 433 additions and 236 deletions
|
|
@ -1,19 +1,21 @@
|
|||
{ inputs, lib, ... }:
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
crossPkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(
|
||||
_:
|
||||
import inputs.nixphone.nixosModules.sdm845-oneplus-fajita {
|
||||
inherit lib config;
|
||||
pkgs = crossPkgs;
|
||||
inputs = inputs.sdm845.inputs;
|
||||
}
|
||||
)
|
||||
imports = [ inputs.nixphone.nixosModules.sdm845-oneplus-fajita ];
|
||||
|
||||
quadphone.crossPackages = [
|
||||
"nix-direnv"
|
||||
];
|
||||
|
||||
# nixphone loads pmi8998_haptics in the initrd, but the kernel config doesn't build it
|
||||
# TODO: upstream to nixphone
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "pmi8998-haptics";
|
||||
patch = null;
|
||||
structuredExtraConfig.INPUT_QCOM_PMI8998_HAPTICS = lib.kernel.module;
|
||||
}
|
||||
];
|
||||
|
||||
# TODO: flutter apps don't cross compile, and the flake's package isn't cached
|
||||
programs.nexus.enable = lib.mkForce false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue