commit
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
}:
|
||||
{
|
||||
flake-file.inputs = {
|
||||
x1e-kernel.url = "git+https://git.scug.io/nikkuss/x1e-nixos.git";
|
||||
x1e-kernel.url = "git+ssh://git@git.scug.io:/nikkuss/x1e-staging.git?ref=staging";
|
||||
x1e-kernel.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
modules.surface-patches = {
|
||||
nixos =
|
||||
@@ -16,9 +17,55 @@
|
||||
x1e-kernel.nixosModules.default
|
||||
];
|
||||
|
||||
x1e.model = "15"; # "13" (default) or "15" — selects the correct DTB
|
||||
x1e.cpuParking = false; # loads cpu_parking at boot
|
||||
x1e.ecReboot = true; # loads ec_reboot at boot, exposes /sys/kernel/ec_reboot/reboot
|
||||
# x1e.model = "15"; # "13" (default) or "15" — selects the correct DTB
|
||||
# x1e.cpuParking = false; # loads cpu_parking at boot
|
||||
# x1e.ecReboot = true; # loads ec_reboot at boot, exposes /sys/kernel/ec_reboot/reboot
|
||||
x1e = {
|
||||
model = "15";
|
||||
cpuParking = false;
|
||||
ecReboot = true;
|
||||
el2 = {
|
||||
debugTools = false;
|
||||
enable = false;
|
||||
};
|
||||
iso = {
|
||||
enable = true;
|
||||
modules = [ ];
|
||||
};
|
||||
msm = {
|
||||
extraPatches = [ ];
|
||||
};
|
||||
pmSdamTrace = {
|
||||
enable = true;
|
||||
};
|
||||
psr = {
|
||||
enable = false;
|
||||
};
|
||||
ramoops = {
|
||||
enable = false;
|
||||
};
|
||||
spiHid = {
|
||||
drivers = [ "legacy" ];
|
||||
legacy = {
|
||||
enable = true;
|
||||
};
|
||||
v4 = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
ssamPmNotifier = {
|
||||
enable = false;
|
||||
};
|
||||
ssamRequestTimeout = {
|
||||
enable = true;
|
||||
};
|
||||
touchscreen = {
|
||||
enable = false;
|
||||
};
|
||||
video = {
|
||||
enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Prevent reboot hang - qcom_smd_qrtr workers stuck in D-state
|
||||
systemd.settings.Manager.DefaultTimeoutStopSec = "15s";
|
||||
|
||||
Reference in New Issue
Block a user