2024-02-25 12:04:29 +00:00
|
|
|
# All of the extra module arguments to be passed as part of the holistic NixOS
|
|
|
|
# system.
|
2024-03-01 10:09:47 +00:00
|
|
|
{ pkgs, lib, options, ... }:
|
2024-02-25 12:04:29 +00:00
|
|
|
|
|
|
|
let
|
2024-02-25 14:27:05 +00:00
|
|
|
foodogsquaredLib = import ../../../lib { inherit pkgs; };
|
2024-02-25 12:04:29 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
_module.args.foodogsquaredLib =
|
2024-03-01 10:09:47 +00:00
|
|
|
foodogsquaredLib.extend (final: prev: {
|
2024-05-27 07:21:48 +00:00
|
|
|
nixos = import ../../../lib/env-specific/nixos.nix { inherit pkgs lib; self = final; };
|
2024-03-01 10:09:47 +00:00
|
|
|
} // lib.optionalAttrs (options?sops) {
|
2024-05-27 07:21:48 +00:00
|
|
|
sops-nix = import ../../../lib/env-specific/sops.nix { inherit pkgs lib; self = final; };
|
2024-03-01 10:09:47 +00:00
|
|
|
});
|
2024-02-25 12:04:29 +00:00
|
|
|
}
|