You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
726 B
Nix

# This file especially especially includes special overlays
# where a full include via the nixpkgs.overlays option is not feasible
# because of a big list of dependencies
# and where in most cases just setting a certain package option should be enough (e.g. systemd).
{
inputs,
lib,
outputs,
...
}@flakeArg:
let
withOverlay =
overlay: configFun:
{ pkgs, ... }:
configFun (
import inputs.nixpkgs {
system = pkgs.system;
overlays = lib.singleton overlay;
}
);
in
{
# TODO until https://github.com/systemd/systemd/issues/29651 is fixed
systemd-radv-fadeout = withOverlay outputs.overlays.systemd-radv-fadeout (pkgs: {
config.systemd.package = pkgs.systemd;
});
}