nolap bt patch

This commit is contained in:
Tao Tien 2026-05-22 11:13:43 -07:00
parent 395221f383
commit 1adcff2234
3 changed files with 53 additions and 3 deletions

43
flake.lock generated
View file

@ -135,6 +135,27 @@
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1" "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": { "git-hooks-nix": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -441,6 +462,27 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -454,6 +496,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-last-building": "nixpkgs-last-building", "nixpkgs-last-building": "nixpkgs-last-building",
"nur": "nur",
"zen-browser": "zen-browser" "zen-browser": "zen-browser"
} }
}, },

View file

@ -3,11 +3,15 @@
inputs = { inputs = {
nixos.url = "github:NixOS/nixpkgs/nixos-25.11"; 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-facter-modules.url = "github:numtide/nixos-facter-modules";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; 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"; determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/0.1";
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = { agenix = {
url = "github:ryantm/agenix"; url = "github:ryantm/agenix";
inputs.darwin.follows = ""; inputs.darwin.follows = "";
@ -42,6 +46,7 @@
self, self,
nixpkgs, nixpkgs,
nixpkgs-last-building, nixpkgs-last-building,
nur,
nixos-facter-modules, nixos-facter-modules,
nixos-hardware, nixos-hardware,
determinate, determinate,
@ -100,6 +105,7 @@
./extras/dev.nix ./extras/dev.nix
./extras/gaming.nix ./extras/gaming.nix
lsfg-vk-flake.nixosModules.default lsfg-vk-flake.nixosModules.default
nur.modules.nixos.default
]; ];
}; };
NOmom = nixpkgs.lib.nixosSystem { NOmom = nixpkgs.lib.nixosSystem {

View file

@ -47,7 +47,8 @@
"amdgpu" "amdgpu"
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest; # boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.nur.repos.Ev357.linux-patched;
boot.kernelParams = [ boot.kernelParams = [
"amdgpu.abmlevel=1" "amdgpu.abmlevel=1"
# amd doesn't have deep # amd doesn't have deep