Reenable autoModules and disable nova_core instead (#13)

This commit is contained in:
Lan Tian 2025-12-18 17:16:40 -08:00
parent 2bc5de4aad
commit 8e6d8c370f
No known key found for this signature in database
GPG Key ID: 04E66B6B25A0862B

View File

@ -43,10 +43,11 @@ lib.makeOverridable (
rt ? false, rt ? false,
# Build as much components as possible as kernel modules, including disabled ones. # Build as much components as possible as kernel modules, including disabled ones.
# This can enable unexpected modules. Disabling by default for as close behavior # This can enable unexpected modules, such as nova_core.
# as possible compared to upstream.
# https://github.com/xddxdd/nix-cachyos-kernel/issues/13 # https://github.com/xddxdd/nix-cachyos-kernel/issues/13
autoModules ? false, #
# Disabling this causes boot issues for me. Reenabling.
autoModules ? true,
# See nixpkgs/pkgs/os-specific/linux/kernel/generic.nix for additional options. # See nixpkgs/pkgs/os-specific/linux/kernel/generic.nix for additional options.
# Additional args are passed to buildLinux. # Additional args are passed to buildLinux.
@ -102,6 +103,9 @@ lib.makeOverridable (
NR_CPUS = lib.mkForce (option (freeform "8192")); NR_CPUS = lib.mkForce (option (freeform "8192"));
LOCALVERSION = freeform defaultLocalVersion; LOCALVERSION = freeform defaultLocalVersion;
# https://github.com/xddxdd/nix-cachyos-kernel/issues/13
NOVA_CORE = no;
# Follow NixOS default config to not break etc overlay # Follow NixOS default config to not break etc overlay
OVERLAY_FS = module; OVERLAY_FS = module;
OVERLAY_FS_REDIRECT_DIR = no; OVERLAY_FS_REDIRECT_DIR = no;