This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
20 lines
318 B
Nix
20 lines
318 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
in {
|
|
config = mkIf config.local.profiles.desktop.enable {
|
|
documentation = {
|
|
enable = true;
|
|
|
|
man = {
|
|
enable = true;
|
|
man-db.enable = false;
|
|
mandoc.enable = true;
|
|
generateCaches = true;
|
|
};
|
|
};
|
|
};
|
|
}
|