This commit is contained in:
mjallen18
2026-03-24 16:24:23 -05:00
parent a4c2cbdf7b
commit 91ec603b62
2 changed files with 27 additions and 0 deletions

View File

@@ -113,6 +113,8 @@
};
};
specialisation.asahi-fairydust.configuration = import ./specialisations/asahi-fairydust.nix;
nixpkgs.config.allowUnsupportedSystem = true;
virtualisation = {

View File

@@ -0,0 +1,25 @@
{
lib,
pkgs,
...
}:
{
# Override the Asahi kernel source and version by setting boot.kernelPackages
# directly. The nixos-apple-silicon module would normally set this from
# linux-asahi via the overlay, but we bypass that here and use linuxPackagesFor
# with the kernel overridden in place. lib.mkOverride 90 beats the module's
# lib.mkDefault (priority 1000) but loses to explicit user overrides.
boot.kernelPackages = lib.mkOverride 90 (
pkgs.linuxPackagesFor (
pkgs.linux-asahi.kernel.overrideAttrs (_: {
version = "6.18.10";
src = pkgs.fetchFromGitHub {
owner = "AsahiLinux";
repo = "linux";
rev = "61b6e714dd19b7bee1c0e6ec4234199e640c2932";
hash = "sha256-5eAgJTKcRdjEFzHDSrh/XReaT6Db9YN2RN1SwOs28NE=";
};
})
)
);
}