From db6de00a78b08dfe5f8ed2e1a93881333aa4d1e0 Mon Sep 17 00:00:00 2001 From: Aurora Chen Date: Sun, 14 Jun 2026 17:37:05 +1000 Subject: [PATCH] patch kernel by defaultO --- bathtub/default.nix | 1 - bathtub/hardware.nix | 6 ++++++ bathtub/specialisation.nix | 8 -------- flake.lock | 10 +++++----- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/bathtub/default.nix b/bathtub/default.nix index 5d6beb8..cb806ab 100644 --- a/bathtub/default.nix +++ b/bathtub/default.nix @@ -10,7 +10,6 @@ ./hardware.nix ./programs.nix ./services.nix - ./specialisation.nix (modulesPath + "/installer/scan/not-detected.nix") ]; diff --git a/bathtub/hardware.nix b/bathtub/hardware.nix index 8b44066..bde4ecb 100644 --- a/bathtub/hardware.nix +++ b/bathtub/hardware.nix @@ -50,6 +50,12 @@ "zswap.max_pool_percent=20" "zswap.shrinker_enabled=1" ]; + kernelPatches = [ + { + name = "pmp"; + patch = ../files/pmp.patch; + } + ]; }; fileSystems."/" = { diff --git a/bathtub/specialisation.nix b/bathtub/specialisation.nix index 3e5a0fe..736eecd 100644 --- a/bathtub/specialisation.nix +++ b/bathtub/specialisation.nix @@ -1,14 +1,6 @@ { pkgs, lib, ... }: { specialisation = { - battery.configuration = { - boot.kernelPatches = [ - { - name = "pmp"; - patch = ../files/pmp.patch; - } - ]; - }; /* gaming.configuration = { virtualisation.docker = { diff --git a/flake.lock b/flake.lock index 5f19cb4..ec3f5c6 100644 --- a/flake.lock +++ b/flake.lock @@ -234,14 +234,14 @@ "ibm-plex-mono-src": { "flake": false, "locked": { - "lastModified": 1731402378, + "lastModified": 1731402384, "narHash": "sha256-OwUmrPfEehLDz0fl2ChYLK8FQM2p0G1+EMrGsYEq+6g=", "type": "tarball", - "url": "https://github.com/IBM/plex/releases/download/@ibm/plex-mono@1.1.0/ibm-plex-mono.zip" + "url": "https://github.com/IBM/plex/releases/download/@ibm%2Fplex-mono@1.1.0/ibm-plex-mono.zip" }, "original": { "type": "tarball", - "url": "https://github.com/IBM/plex/releases/download/@ibm/plex-mono@1.1.0/ibm-plex-mono.zip" + "url": "https://github.com/IBM/plex/releases/download/@ibm%2Fplex-mono@1.1.0/ibm-plex-mono.zip" } }, "indigo": { @@ -587,12 +587,12 @@ "rev": "f9c85351f3946f585da9401b29ced88c7726265d", "revCount": 2465, "type": "git", - "url": "https://tangled.org/tangled.org/core" + "url": "https://tangled.org/did:plc:j5hmlfdrwkvtxm7cjmu7j2is" }, "original": { "ref": "refs/tags/v1.14.1-alpha", "type": "git", - "url": "https://tangled.org/tangled.org/core" + "url": "https://tangled.org/did:plc:j5hmlfdrwkvtxm7cjmu7j2is" } }, "xwayland-satellite-stable": { -- 2.51.2