Commit 78f6dd6b9692
Changed files (4)
systems/kyushu/boot.nix
@@ -58,6 +58,6 @@
"intel_iommu=on"
];
- kernelPackages = pkgs.linuxPackages_latest;
+ kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v3;
};
}
systems/default.nix
@@ -40,6 +40,7 @@
inputs.go-org-readwise.overlays.default
inputs.radian.overlays.default
inputs.agenix.overlays.default
+ inputs.nix-cachyos-kernel.overlays.default
# Migrate to "modifications"
(_: prev: {
flake.lock
@@ -87,6 +87,38 @@
"type": "github"
}
},
+ "cachyos-kernel": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1778227630,
+ "narHash": "sha256-IZIpCvjTLn6dzgFa6vOB6rUkMp3gktQy8suVXkPfvSg=",
+ "owner": "CachyOS",
+ "repo": "linux-cachyos",
+ "rev": "24da68625ce48a4ea1b28996050f1229e7bc78a2",
+ "type": "github"
+ },
+ "original": {
+ "owner": "CachyOS",
+ "repo": "linux-cachyos",
+ "type": "github"
+ }
+ },
+ "cachyos-kernel-patches": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1777876120,
+ "narHash": "sha256-fdFgVCoua3rsQyyHkgxcnwi0hUktR8UtcI/suS8jcbg=",
+ "owner": "CachyOS",
+ "repo": "kernel-patches",
+ "rev": "e80ce8172953b8c199daf6a2850974bb12731ae9",
+ "type": "github"
+ },
+ "original": {
+ "owner": "CachyOS",
+ "repo": "kernel-patches",
+ "type": "github"
+ }
+ },
"chapeau-rouge": {
"inputs": {
"flake-parts": [
@@ -372,6 +404,22 @@
}
},
"flake-compat_3": {
+ "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-compat_4": {
"flake": false,
"locked": {
"lastModified": 1767039857,
@@ -406,6 +454,24 @@
}
},
"flake-parts_2": {
+ "inputs": {
+ "nixpkgs-lib": "nixpkgs-lib_2"
+ },
+ "locked": {
+ "lastModified": 1777988971,
+ "narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
+ "flake-parts_3": {
"inputs": {
"nixpkgs-lib": [
"system-manager",
@@ -652,6 +718,30 @@
"type": "github"
}
},
+ "nix-cachyos-kernel": {
+ "inputs": {
+ "cachyos-kernel": "cachyos-kernel",
+ "cachyos-kernel-patches": "cachyos-kernel-patches",
+ "flake-compat": "flake-compat_3",
+ "flake-parts": "flake-parts_2",
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1778438210,
+ "narHash": "sha256-QFqKZ1PvbuXOJfH+QfhEAQW5TVrFBDMc6kRkii4l7uk=",
+ "owner": "xddxdd",
+ "repo": "nix-cachyos-kernel",
+ "rev": "fd9bda8a7986c9d35c4e5462f0be1d42ea529812",
+ "type": "github"
+ },
+ "original": {
+ "owner": "xddxdd",
+ "repo": "nix-cachyos-kernel",
+ "type": "github"
+ }
+ },
"nix-github-actions": {
"inputs": {
"nixpkgs": [
@@ -849,6 +939,21 @@
"type": "github"
}
},
+ "nixpkgs-lib_2": {
+ "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-master": {
"locked": {
"lastModified": 1777965144,
@@ -1020,6 +1125,7 @@
"home-manager": "home-manager",
"home-manager-25_11": "home-manager-25_11",
"lanzaboote": "lanzaboote",
+ "nix-cachyos-kernel": "nix-cachyos-kernel",
"nix-github-actions": "nix-github-actions_4",
"nixos-hardware": "nixos-hardware",
"nixos-raspberrypi": "nixos-raspberrypi",
@@ -1057,7 +1163,7 @@
},
"system-manager": {
"inputs": {
- "flake-compat": "flake-compat_3",
+ "flake-compat": "flake-compat_4",
"nixpkgs": [
"nixpkgs"
],
@@ -1164,7 +1270,7 @@
"system-manager",
"flake-compat"
],
- "flake-parts": "flake-parts_2",
+ "flake-parts": "flake-parts_3",
"nixpkgs": [
"system-manager",
"nixpkgs"
flake.nix
@@ -401,6 +401,11 @@
agenix-25_11.inputs.nixpkgs.follows = "nixpkgs-25_11";
agenix-25_11.inputs.home-manager.follows = "home-manager-25_11";
+ nix-cachyos-kernel = {
+ url = "github:xddxdd/nix-cachyos-kernel";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
lanzaboote.url = "github:nix-community/lanzaboote";
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";