Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreoss/kernel-overlay
linux kernel overlay
https://github.com/andreoss/kernel-overlay
Last synced: about 2 months ago
JSON representation
linux kernel overlay
- Host: GitHub
- URL: https://github.com/andreoss/kernel-overlay
- Owner: andreoss
- Created: 2023-03-12T23:27:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-19T01:15:08.000Z (9 months ago)
- Last Synced: 2023-12-19T06:40:05.525Z (9 months ago)
- Language: Perl
- Size: 417 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kernel overlay
Builds of the vanilla Linux kernel for Nix.
The current releases are regularly pulled from https://kernel.org.
Run `nix flake show github:andreoss/kernel-overlay' to see the exact versions.- `linuxPackages` is an alias for the latest `stable` release.
- `linuxPackages_testing` is an alias for the latest `mainline` release.## Available releases
|Version|Package|Date|
|---|---|---|
|6.9.12|6_9|2024-07-27|
|6.6.43|6_6|2024-07-27|
|6.11.0-rc1|mainline|2024-07-28|
|6.10.2|stable|2024-07-27|
|6.1.102|6_1|2024-07-27|
|5.4.281|5_4|2024-07-27|
|5.15.164|5_15|2024-07-27|
|5.10.223|5_10|2024-07-27|
|4.19.319|4_19|2024-07-27|## Installation
(Optional) Enable cachix substitutions in `nix.settings`.
https://app.cachix.org/cache/kernel-overlay
NOTE: This change will only have effect after a `nix-daemon' restart.
```
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://kernel-overlay.cachix.org" ];
trusted-public-keys = [
"kernel-overlay.cachix.org-1:rUvSa2sHn0a7RmwJDqZvijlzZHKeGvmTQfOUr2kaxr4="
];
};
```Add as an input to a flake
```
{
description = "OS configuration";
inputs = {
...
kernel-overlay.url = "github:andreoss/kernel-overlay";
...
```Enable overlay
```
outputs = inputs@{ self, nixpkgs, home-manager, ... }:
let
systems = lib.systems.flakeExposed;
lib = nixpkgs.lib;
eachSystem = lib.genAttrs systems;
in rec {
legacyPackages = eachSystem (system:
import nixpkgs {
inherit system;
overlays = [
inputs.kernel-overlay.overlays.default
];
});
...```
By default, this overlay replaces the default kernel package. To use a specific one, specify it
in`configuration.nix`. For example```
boot.kernelPackages = pkgs.linuxPackages_4_14;
```