mkFlake/default.nix: formatting

This commit is contained in:
Pacman99 2021-04-27 09:32:12 -07:00
parent 7f3116c1cc
commit f57840d723

View File

@ -52,7 +52,8 @@ lib.systemFlake (lib.recursiveUpdate
# pass channels if "overlay" has three arguments # pass channels if "overlay" has three arguments
overlaysBuilder = channels: lib.unifyOverlays channels channel.overlays; overlaysBuilder = channels: lib.unifyOverlays channels channel.overlays;
}) })
) cfg.channels; )
cfg.channels;
hostDefaults = lib.mergeAny hostDefaults { hostDefaults = lib.mergeAny hostDefaults {
specialArgs.suites = cfg.nixos.suites; specialArgs.suites = cfg.nixos.suites;
@ -68,10 +69,9 @@ lib.systemFlake (lib.recursiveUpdate
deploy.nodes = os.mkNodes deploy self.nixosConfigurations; deploy.nodes = os.mkNodes deploy self.nixosConfigurations;
overlays = lib.exporter.overlaysFromChannelsExporter { overlays = lib.exporter.overlaysFromChannelsExporter {
/* since we can't detect overlays owned by self # since we can't detect overlays owned by self
we have to filter out ones exported by the inputs # we have to filter out ones exported by the inputs
optimally we would want a solution for NixOS/nix#4740 # optimally we would want a solution for NixOS/nix#4740
*/
inherit inputs; inherit inputs;
inherit (self) pkgs; inherit (self) pkgs;
}; };