mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
16 lines
480 B
Nix
16 lines
480 B
Nix
# All of the extra module arguments to be passed as part of the holistic NixOS
|
|
# system.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
let
|
|
foodogsquaredLib = import ../../../lib { inherit pkgs; };
|
|
in
|
|
{
|
|
_module.args.foodogsquaredLib =
|
|
foodogsquaredLib.extend (final: prev:
|
|
import ../../../lib/nixos.nix { inherit pkgs config; lib = prev; }
|
|
// lib.optionalAttrs (options?sops) {
|
|
sops-nix = import ../../../lib/sops.nix { inherit pkgs; lib = prev; };
|
|
});
|
|
}
|