fix(katana): fix nvidia kernel panic on shutdown

This commit is contained in:
2026-06-27 08:26:50 +02:00
parent b0885e290c
commit 838ddc962e
4 changed files with 139 additions and 12 deletions
Generated
+132 -11
View File
@@ -1,6 +1,72 @@
{
"nodes": {
"cachyos-kernel": {
"flake": false,
"locked": {
"lastModified": 1781883168,
"narHash": "sha256-raAojJGk0aWdscfFn/9ikZ6V5oUuAZcAz5kjAZ2QN3E=",
"owner": "CachyOS",
"repo": "linux-cachyos",
"rev": "daed450e9b1a4fadfef68fb4fa5e2f3391fedb34",
"type": "github"
},
"original": {
"owner": "CachyOS",
"repo": "linux-cachyos",
"type": "github"
}
},
"cachyos-kernel-patches": {
"flake": false,
"locked": {
"lastModified": 1782242233,
"narHash": "sha256-AUwTZq++PBq0qjDVFKqD0AZNNwa0b1RK41bM9XMbkW8=",
"owner": "CachyOS",
"repo": "kernel-patches",
"rev": "19250dcc39862169961756c733b8a6ba77754c22",
"type": "github"
},
"original": {
"owner": "CachyOS",
"repo": "kernel-patches",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
"owner": "NixOS",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
@@ -76,6 +142,29 @@
"type": "github"
}
},
"nix-cachyos-kernel": {
"inputs": {
"cachyos-kernel": "cachyos-kernel",
"cachyos-kernel-patches": "cachyos-kernel-patches",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1782415778,
"narHash": "sha256-Qts73QQA+lADfxWjonL3Q1JcZssVZPsQI38L3qZyS0o=",
"owner": "xddxdd",
"repo": "nix-cachyos-kernel",
"rev": "1740ec90e7b07730c212a3a1ff5e71af08a5270b",
"type": "github"
},
"original": {
"owner": "xddxdd",
"ref": "release",
"repo": "nix-cachyos-kernel",
"type": "github"
}
},
"nixflix": {
"inputs": {
"mkdocs-catppuccin": "mkdocs-catppuccin",
@@ -101,16 +190,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "nixos",
"lastModified": 1782378976,
"narHash": "sha256-UqQgBlQATXM3aBvzTRE/1wxHrCdKg5/ePlXfG/7Eqd8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"rev": "5df71f3d167f0aad71658608361c1301147b9eb6",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
@@ -131,6 +220,21 @@
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1777168982,
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-my-features": {
"locked": {
"lastModified": 1779912664,
@@ -148,6 +252,22 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1781577229,
"narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "567a49d1913ce81ac6e9582e3553dd90a955875f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1778869304,
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
@@ -161,7 +281,7 @@
"type": "indirect"
}
},
"nixpkgs_3": {
"nixpkgs_4": {
"locked": {
"lastModified": 1778794387,
"narHash": "sha256-BL04pOS9453Awkeb9f90XBJXBSkWxN+vB7HIgnL0iMM=",
@@ -180,7 +300,7 @@
"nixvim": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim_2"
},
"locked": {
@@ -199,8 +319,8 @@
},
"nixvim_2": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_3",
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4",
"systems": "systems_2"
},
"locked": {
@@ -240,8 +360,9 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-cachyos-kernel": "nix-cachyos-kernel",
"nixflix": "nixflix",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"nixpkgs-25-11": "nixpkgs-25-11",
"nixpkgs-my-features": "nixpkgs-my-features",
"nixvim": "nixvim",
+3
View File
@@ -3,6 +3,7 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-25-11.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-my-features.url = "github:Superredstone/nixpkgs/my-features";
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -33,12 +34,14 @@
home-manager,
nixvim,
sops-nix,
nix-cachyos-kernel,
noctalia,
nixflix,
...
}@inputs:
let
overlays = [
nix-cachyos-kernel.overlays.pinned
];
personalEmail = "patrickcanal3@gmail.com";
username = "r3ddy";
+2 -1
View File
@@ -10,7 +10,8 @@
verbose = false;
systemd.enable = true;
};
kernelPackages = pkgs.linuxPackages_latest;
# Do not remove cachy kernel, it fixes nvidia kernel panic on shutdown
kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
consoleLogLevel = 3;
kernelParams = [
"quiet"
+2
View File
@@ -6,12 +6,14 @@
"https://cache.garnix.io"
"https://nixvim-superredstone.cachix.org"
"https://noctalia.cachix.org"
"https://attic.xuyh0120.win/lantian"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"nixvim-superredstone.cachix.org-1:mEXHVxEv5dKka3FOxTMFDfdk/DJ0baydsahi+zZIcQE="
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
];
trusted-users = [
"root"