Commit b3f337a
Changed files (4)
modules/core/nix/nixpkgs.nix
@@ -9,6 +9,7 @@
nixpkgs.config = {allowUnfree = true;};
nixpkgs.overlays = [
inputs.nur.overlays.default
+ inputs.nix-cachyos-kernel.overlays.pinned
config.flake.overlays.default
];
};
modules/hosts/kevin/boot.nix
@@ -27,7 +27,7 @@
enable = true;
};
- boot.kernelPackages = pkgs.linuxPackages_xanmod_stable;
+ boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
boot.kernelParams = ["mem_sleep_default=deep"];
boot.resumeDevice = "/dev/disk/by-uuid/3fb5330a-ccff-4483-a8d0-3ea733356ad3";
flake.lock
@@ -84,6 +84,38 @@
"type": "github"
}
},
+ "cachyos-kernel": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1770408132,
+ "narHash": "sha256-H2J5KHGAfzmr/SBNqWDj52bS76n/IRijOA1A2XerS90=",
+ "owner": "CachyOS",
+ "repo": "linux-cachyos",
+ "rev": "94b35b638d970d70a354432d863e5fdf39238e44",
+ "type": "github"
+ },
+ "original": {
+ "owner": "CachyOS",
+ "repo": "linux-cachyos",
+ "type": "github"
+ }
+ },
+ "cachyos-kernel-patches": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1770407844,
+ "narHash": "sha256-gDCdcoHtoaEuFP+aVvf43NaJW2RclTVIBZix548BdhQ=",
+ "owner": "CachyOS",
+ "repo": "kernel-patches",
+ "rev": "c031bd5a91990f7eab3d8fb364836cf4e1960f31",
+ "type": "github"
+ },
+ "original": {
+ "owner": "CachyOS",
+ "repo": "kernel-patches",
+ "type": "github"
+ }
+ },
"crane": {
"locked": {
"lastModified": 1769737823,
@@ -190,6 +222,22 @@
}
},
"flake-compat_2": {
+ "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_3": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
@@ -203,7 +251,7 @@
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
- "flake-compat_3": {
+ "flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1767039857,
@@ -242,11 +290,11 @@
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
- "lastModified": 1768135262,
- "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
+ "lastModified": 1769996383,
+ "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
+ "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github"
},
"original": {
@@ -274,6 +322,24 @@
}
},
"flake-parts_4": {
+ "inputs": {
+ "nixpkgs-lib": "nixpkgs-lib_4"
+ },
+ "locked": {
+ "lastModified": 1768135262,
+ "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
+ "flake-parts_5": {
"inputs": {
"nixpkgs-lib": [
"nur",
@@ -294,7 +360,7 @@
"type": "github"
}
},
- "flake-parts_5": {
+ "flake-parts_6": {
"inputs": {
"nixpkgs-lib": [
"stylix",
@@ -315,9 +381,9 @@
"type": "github"
}
},
- "flake-parts_6": {
+ "flake-parts_7": {
"inputs": {
- "nixpkgs-lib": "nixpkgs-lib_4"
+ "nixpkgs-lib": "nixpkgs-lib_5"
},
"locked": {
"lastModified": 1768135262,
@@ -521,9 +587,32 @@
"type": "github"
}
},
- "nix-gaming": {
+ "nix-cachyos-kernel": {
"inputs": {
+ "cachyos-kernel": "cachyos-kernel",
+ "cachyos-kernel-patches": "cachyos-kernel-patches",
+ "flake-compat": "flake-compat_2",
"flake-parts": "flake-parts_2",
+ "nixpkgs": "nixpkgs_5"
+ },
+ "locked": {
+ "lastModified": 1770486901,
+ "narHash": "sha256-laVE2LPVRiH5MIQD8TY3/XhOqlnejjFkOKqkv09dQRA=",
+ "owner": "xddxdd",
+ "repo": "nix-cachyos-kernel",
+ "rev": "7df0632ec8b1f095d4025c4ad435d5d9f839caf0",
+ "type": "github"
+ },
+ "original": {
+ "owner": "xddxdd",
+ "ref": "release",
+ "repo": "nix-cachyos-kernel",
+ "type": "github"
+ }
+ },
+ "nix-gaming": {
+ "inputs": {
+ "flake-parts": "flake-parts_3",
"nixpkgs": [
"nixpkgs"
]
@@ -544,9 +633,9 @@
},
"nixcord": {
"inputs": {
- "flake-compat": "flake-compat_2",
- "flake-parts": "flake-parts_3",
- "nixpkgs": "nixpkgs_5"
+ "flake-compat": "flake-compat_3",
+ "flake-parts": "flake-parts_4",
+ "nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1770165834,
@@ -627,6 +716,21 @@
}
},
"nixpkgs-lib_2": {
+ "locked": {
+ "lastModified": 1769909678,
+ "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "rev": "72716169fe93074c333e8d0173151350670b824c",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixpkgs.lib",
+ "type": "github"
+ }
+ },
+ "nixpkgs-lib_3": {
"locked": {
"lastModified": 1765674936,
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
@@ -641,7 +745,7 @@
"type": "github"
}
},
- "nixpkgs-lib_3": {
+ "nixpkgs-lib_4": {
"locked": {
"lastModified": 1765674936,
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
@@ -656,7 +760,7 @@
"type": "github"
}
},
- "nixpkgs-lib_4": {
+ "nixpkgs-lib_5": {
"locked": {
"lastModified": 1765674936,
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
@@ -688,6 +792,22 @@
}
},
"nixpkgs_10": {
+ "locked": {
+ "lastModified": 1765779637,
+ "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "nixpkgs_11": {
"locked": {
"lastModified": 1769789167,
"narHash": "sha256-kKB3bqYJU5nzYeIROI82Ef9VtTbu4uA3YydSk/Bioa8=",
@@ -753,47 +873,47 @@
},
"nixpkgs_5": {
"locked": {
- "lastModified": 1769089682,
- "narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
+ "lastModified": 1770441824,
+ "narHash": "sha256-9iicOOWBXLKD6Yyph7w3+chmRZHJu2bJInh+PZEPu3o=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
+ "rev": "06b4256d6169bdc528ca347f1b14044c4e6c4e86",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixos-25.11",
+ "ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
- "lastModified": 1770181073,
- "narHash": "sha256-ksTL7P9QC1WfZasNlaAdLOzqD8x5EPyods69YBqxSfk=",
+ "lastModified": 1769089682,
+ "narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "bf922a59c5c9998a6584645f7d0de689512e444c",
+ "rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixos-unstable",
+ "ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
- "lastModified": 1767767207,
- "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=",
- "owner": "nixos",
+ "lastModified": 1770181073,
+ "narHash": "sha256-ksTL7P9QC1WfZasNlaAdLOzqD8x5EPyods69YBqxSfk=",
+ "owner": "NixOS",
"repo": "nixpkgs",
- "rev": "5912c1772a44e31bf1c63c0390b90501e5026886",
+ "rev": "bf922a59c5c9998a6584645f7d0de689512e444c",
"type": "github"
},
"original": {
- "owner": "nixos",
+ "owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
@@ -801,11 +921,11 @@
},
"nixpkgs_8": {
"locked": {
- "lastModified": 1770181073,
- "narHash": "sha256-ksTL7P9QC1WfZasNlaAdLOzqD8x5EPyods69YBqxSfk=",
+ "lastModified": 1767767207,
+ "narHash": "sha256-Mj3d3PfwltLmukFal5i3fFt27L6NiKXdBezC1EBuZs4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "bf922a59c5c9998a6584645f7d0de689512e444c",
+ "rev": "5912c1772a44e31bf1c63c0390b90501e5026886",
"type": "github"
},
"original": {
@@ -817,11 +937,11 @@
},
"nixpkgs_9": {
"locked": {
- "lastModified": 1765779637,
- "narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
+ "lastModified": 1770181073,
+ "narHash": "sha256-ksTL7P9QC1WfZasNlaAdLOzqD8x5EPyods69YBqxSfk=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
+ "rev": "bf922a59c5c9998a6584645f7d0de689512e444c",
"type": "github"
},
"original": {
@@ -833,7 +953,7 @@
},
"noctalia": {
"inputs": {
- "nixpkgs": "nixpkgs_7"
+ "nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1770252745,
@@ -852,8 +972,8 @@
},
"nur": {
"inputs": {
- "flake-parts": "flake-parts_4",
- "nixpkgs": "nixpkgs_8"
+ "flake-parts": "flake-parts_5",
+ "nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1770267663,
@@ -934,7 +1054,7 @@
},
"pre-commit-hooks": {
"inputs": {
- "flake-compat": "flake-compat_3",
+ "flake-compat": "flake-compat_4",
"gitignore": "gitignore",
"nixpkgs": [
"vaultix",
@@ -985,11 +1105,12 @@
"home-manager": "home-manager",
"import-tree": "import-tree",
"niri-flake": "niri-flake",
+ "nix-cachyos-kernel": "nix-cachyos-kernel",
"nix-gaming": "nix-gaming",
"nixcord": "nixcord",
"nixos-hardware": "nixos-hardware",
"nixos-logo": "nixos-logo",
- "nixpkgs": "nixpkgs_6",
+ "nixpkgs": "nixpkgs_7",
"noctalia": "noctalia",
"nur": "nur",
"pkgs-by-name-for-flake-parts": "pkgs-by-name-for-flake-parts",
@@ -1046,7 +1167,7 @@
},
"silentSDDM": {
"inputs": {
- "nixpkgs": "nixpkgs_9"
+ "nixpkgs": "nixpkgs_10"
},
"locked": {
"lastModified": 1769900466,
@@ -1069,7 +1190,7 @@
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
- "flake-parts": "flake-parts_5",
+ "flake-parts": "flake-parts_6",
"gnome-shell": "gnome-shell",
"nixpkgs": [
"nixpkgs"
@@ -1277,8 +1398,8 @@
"inputs": {
"advisory-db": "advisory-db",
"crane": "crane",
- "flake-parts": "flake-parts_6",
- "nixpkgs": "nixpkgs_10",
+ "flake-parts": "flake-parts_7",
+ "nixpkgs": "nixpkgs_11",
"pre-commit-hooks": "pre-commit-hooks",
"rust-overlay": "rust-overlay"
},
flake.nix
@@ -17,6 +17,8 @@
niri-flake.url = "github:sodiboo/niri-flake";
+ nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
+
nix-gaming.url = "github:fufexan/nix-gaming";
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";