From 1adcff2234690a96c039b6565f726b78f3f46322 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Fri, 22 May 2026 11:13:43 -0700 Subject: [PATCH] nolap bt patch --- flake.lock | 43 +++++++++++++++++++++++++++++++++++++++++++ flake.nix | 10 ++++++++-- systems/NOlaptop.nix | 3 ++- 3 files changed, 53 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 5dfc424..e8620bb 100644 --- a/flake.lock +++ b/flake.lock @@ -135,6 +135,27 @@ "url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": [ + "nur", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "git-hooks-nix": { "inputs": { "flake-compat": "flake-compat", @@ -441,6 +462,27 @@ "type": "github" } }, + "nur": { + "inputs": { + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1779470870, + "narHash": "sha256-h511LYfVIXNpTd8C/p1cMW2AVrFEjMy104XxPRIzrL0=", + "owner": "nix-community", + "repo": "NUR", + "rev": "5ea6f8868ce8f1ed17ce6da66abe084dfe3501e0", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -454,6 +496,7 @@ "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_4", "nixpkgs-last-building": "nixpkgs-last-building", + "nur": "nur", "zen-browser": "zen-browser" } }, diff --git a/flake.nix b/flake.nix index 0cc84f3..7accc21 100644 --- a/flake.nix +++ b/flake.nix @@ -3,11 +3,15 @@ inputs = { nixos.url = "github:NixOS/nixpkgs/nixos-25.11"; - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - nixpkgs-last-building.url = "github:NixOS/nixpkgs/59e69648d345d6e8fef86158c555730fa12af9de"; nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-last-building.url = "github:NixOS/nixpkgs/59e69648d345d6e8fef86158c555730fa12af9de"; determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1"; + nur = { + url = "github:nix-community/NUR"; + inputs.nixpkgs.follows = "nixpkgs"; + }; agenix = { url = "github:ryantm/agenix"; inputs.darwin.follows = ""; @@ -42,6 +46,7 @@ self, nixpkgs, nixpkgs-last-building, + nur, nixos-facter-modules, nixos-hardware, determinate, @@ -100,6 +105,7 @@ ./extras/dev.nix ./extras/gaming.nix lsfg-vk-flake.nixosModules.default + nur.modules.nixos.default ]; }; NOmom = nixpkgs.lib.nixosSystem { diff --git a/systems/NOlaptop.nix b/systems/NOlaptop.nix index 702d002..82860bb 100644 --- a/systems/NOlaptop.nix +++ b/systems/NOlaptop.nix @@ -47,7 +47,8 @@ "amdgpu" ]; - boot.kernelPackages = pkgs.linuxPackages_latest; + # boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.nur.repos.Ev357.linux-patched; boot.kernelParams = [ "amdgpu.abmlevel=1" # amd doesn't have deep