This commit is contained in:
2026-08-22 13:36:53 +01:00
parent b072564a6c
commit 049ccd8d29
5 changed files with 137 additions and 93 deletions
+1 -9
View File
@@ -21,7 +21,7 @@
modules.stylix
modules.quickshell
modules.lavd
modules.omp
# modules.omp
# modules.podman
# modules.openvivo
];
@@ -37,14 +37,6 @@
homeManager =
{ pkgs, ... }:
{
xdg.configFile."hypr/hyprland-local.lua" = {
text = ''
-- Host overrides (laptop)
hl.config({ ["decoration.blur.enabled"] = false })
hl.config({ ["input.sensitivity"] = 0 })
hl.device({ name = "default", sensitivity = 0 })
'';
};
home.packages = with pkgs; [
telegram-desktop
equibop
+1 -5
View File
@@ -47,10 +47,6 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
services.upower.enable = true;
# boot.kernelPackages = pkgs.linuxPackages_6_12; # Hibernate works on 6.12 but not on latest
# boot.kernelPackages = pkgs.linuxPackages_latest; # Unpinned the linux version for now.. as i am not using hibernate that often
# boot.kernelPackages =
# inputs.nix-cachyos-kernel.legacyPackages.x86_64-linux.linuxPackages-cachyos-latest-lto-x86_64-v3;
networking.hostName = "doloro-nixos-laptop"; # Define your hostname.
# security.rtkit.enable = true;
@@ -157,7 +153,7 @@
# # initialPassword = "sex";
# };
users.users.root = {
password = "meowmeowmeow";
initialPassword = "meowmeowmeow";
};
users.mutableUsers = false;
services.system76-scheduler.enable = false;
+51 -4
View File
@@ -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";