Exposing the function via clanLib makes it more accessible to clan modules This allows each module to define its own test without needing to depend on any fileSystem path assumptions in the clan-core repo
12 lines
324 B
Nix
12 lines
324 B
Nix
# This is a module to reduce the size of the NixOS configuration
|
|
# Used by the tests
|
|
# It unsets some unnecessary options
|
|
{ lib, ... }:
|
|
{
|
|
nixpkgs.flake.setFlakeRegistry = false;
|
|
nixpkgs.flake.setNixPath = false;
|
|
nix.registry = lib.mkForce { };
|
|
documentation.doc.enable = false;
|
|
documentation.man.enable = false;
|
|
}
|