nixos-config/config/specialization.nix

20 lines
477 B
Nix
Raw Normal View History

2022-02-19 08:01:07 +01:00
# Configuration file configuring specialization
2022-06-12 16:39:15 +01:00
{
pkgs,
config,
lib,
...
}: {
2022-02-19 08:01:07 +01:00
nixpkgs.overlays = [
(self: prev: {
2022-02-19 09:14:49 +01:00
custom_xanmod = pkgs.linuxPackagesFor (pkgs.linuxKernel.kernels.linux_xanmod.override {
ignoreConfigErrors = true;
2022-02-19 10:03:41 +01:00
autoModules = true;
2022-02-19 09:14:49 +01:00
kernelPreferBuiltin = true;
enableParallelBuilding = true;
extraConfig = import (../extra/linux/config- + "${config.networking.hostName}.nix");
});
2022-02-19 08:01:07 +01:00
})
];
}