nixos-config/config/specialization.nix

15 lines
469 B
Nix
Raw Normal View History

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