nixos-config/config/specialization.nix

15 lines
470 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;
autoModules = false;
kernelPreferBuiltin = true;
enableParallelBuilding = true;
extraConfig = import (../extra/linux/config- + "${config.networking.hostName}.nix");
});
2022-02-19 07:01:07 +00:00
})
];
}