nixos-config/config/specialization.nix

22 lines
521 B
Nix
Raw Permalink Normal View History

2022-02-19 07:01:07 +00:00
# Configuration file configuring specialization
2022-06-12 15:39:15 +00:00
{
gomod2nix,
2022-06-12 15:39:15 +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
})
gomod2nix.overlays.default
2022-02-19 07:01:07 +00:00
];
}